// 2) user/profilepic/1.jpg public static string BlobFullName(this UserImageType userFileType, string fileName) { return(ProfilePicBlobDirectory + userFileType.GetAttribute <FileTypeAttribute>().FolderName.ToLower() + "/" + fileName); }
// 1) https://itedata.blob.core.windows.net/ced/user/profilepic/ private static string BlobSubDirectory(this UserImageType userImageType) { return(ProfilePicBlobDirectory + userImageType.GetAttribute <ImageAttribute>().Key.ToLower() + "/"); }