Метод | Описание | |
---|---|---|
AddImage ( Models image ) : Models.ValidationResult | ||
Calculate_Hash ( string fileName ) : string | ||
CheckApprovalAndChecksum ( Models image, int userId ) : Models.ValidationResult | ||
DeleteImage ( Models image ) : Models.ValidationResult | ||
ExportCsv ( string path ) : void | ||
GetImage ( int imageId ) : Models.Image | ||
GetOnDemandImageList ( int userId ) : List |
||
ImageCountUser ( int userId ) : string | ||
ImportCsv ( string path ) : int | ||
SearchImages ( string searchString = "" ) : List |
||
SearchImagesForUser ( int userId, string searchString = "" ) : List |
||
SendImageApprovedEmail ( int imageId ) : void | ||
TotalCount ( ) : string | ||
UpdateImage ( Models image, string originalName ) : Models.ValidationResult | ||
ValidateImage ( Models image, bool isNewImage ) : Models.ValidationResult |
public static AddImage ( Models image ) : Models.ValidationResult | ||
image | Models | |
Результат | Models.ValidationResult |
public static Calculate_Hash ( string fileName ) : string | ||
fileName | string | |
Результат | string |
public static CheckApprovalAndChecksum ( Models image, int userId ) : Models.ValidationResult | ||
image | Models | |
userId | int | |
Результат | Models.ValidationResult |
public static DeleteImage ( Models image ) : Models.ValidationResult | ||
image | Models | |
Результат | Models.ValidationResult |
public static ExportCsv ( string path ) : void | ||
path | string | |
Результат | void |
public static GetImage ( int imageId ) : Models.Image | ||
imageId | int | |
Результат | Models.Image |
public static GetOnDemandImageList ( int userId ) : List |
||
userId | int | |
Результат | List |
public static ImageCountUser ( int userId ) : string | ||
userId | int | |
Результат | string |
public static ImportCsv ( string path ) : int | ||
path | string | |
Результат | int |
public static SearchImages ( string searchString = "" ) : List |
||
searchString | string | |
Результат | List |
public static SearchImagesForUser ( int userId, string searchString = "" ) : List |
||
userId | int | |
searchString | string | |
Результат | List |
public static SendImageApprovedEmail ( int imageId ) : void | ||
imageId | int | |
Результат | void |
public static UpdateImage ( Models image, string originalName ) : Models.ValidationResult | ||
image | Models | |
originalName | string | |
Результат | Models.ValidationResult |
public static ValidateImage ( Models image, bool isNewImage ) : Models.ValidationResult | ||
image | Models | |
isNewImage | bool | |
Результат | Models.ValidationResult |