namespace API.Entities.Enums;
public enum CoverImageSize
{
    /// 
    /// Default Size: 320x455 (wxh)
    /// 
    Default = 1,
    /// 
    /// 640x909
    /// 
    Medium = 2,
    /// 
    /// 900x1277
    /// 
    Large = 3,
    /// 
    /// 1265x1795
    /// 
    XLarge = 4
}
public static class CoverImageSizeExtensions
{
    public static (int Width, int Height) GetDimensions(this CoverImageSize size)
    {
        return size switch
        {
            CoverImageSize.Default => (320, 455),
            CoverImageSize.Medium => (640, 909),
            CoverImageSize.Large => (900, 1277),
            CoverImageSize.XLarge => (1265, 1795),
            _ => (320, 455)
        };
    }
}