public static string GetImageCategoryPathAbsolut(CategoryImageType type, string photoPath) { if (string.IsNullOrWhiteSpace(photoPath)) { return(GetPathAbsolut(PhotoFoldersPath[FolderType.Category]) + CategoryPhotoPrefix[type]); } return(GetPathAbsolut(PhotoFoldersPath[FolderType.Category]) + CategoryPhotoPrefix[type] + photoPath); }
public static string GetImageCategoryPath(CategoryImageType type, string photoPath, bool isForAdministration) { return(GetPath(PhotoFoldersPath[FolderType.Category], isForAdministration) + CategoryPhotoPrefix[type] + photoPath); }
public static string GetImageCategoryPath(CategoryImageType type, string photoPath, bool isForAdministration) { return GetPath(PhotoFoldersPath[FolderType.Category], isForAdministration) + CategoryPhotoPrefix[type] + photoPath; }
public static string GetImageCategoryPathAbsolut(CategoryImageType type, string photoPath) { if (string.IsNullOrWhiteSpace(photoPath)) return GetPathAbsolut(PhotoFoldersPath[FolderType.Category]) + CategoryPhotoPrefix[type]; return GetPathAbsolut(PhotoFoldersPath[FolderType.Category]) + CategoryPhotoPrefix[type] + photoPath; }