Method | Description | |
---|---|---|
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 | |
return | Models.ValidationResult |
public static Calculate_Hash ( string fileName ) : string | ||
fileName | string | |
return | string |
public static CheckApprovalAndChecksum ( Models image, int userId ) : Models.ValidationResult | ||
image | Models | |
userId | int | |
return | Models.ValidationResult |
public static DeleteImage ( Models image ) : Models.ValidationResult | ||
image | Models | |
return | Models.ValidationResult |
public static ExportCsv ( string path ) : void | ||
path | string | |
return | void |
public static GetImage ( int imageId ) : Models.Image | ||
imageId | int | |
return | Models.Image |
public static GetOnDemandImageList ( int userId ) : List |
||
userId | int | |
return | List |
public static ImageCountUser ( int userId ) : string | ||
userId | int | |
return | string |
public static ImportCsv ( string path ) : int | ||
path | string | |
return | int |
public static SearchImages ( string searchString = "" ) : List |
||
searchString | string | |
return | List |
public static SearchImagesForUser ( int userId, string searchString = "" ) : List |
||
userId | int | |
searchString | string | |
return | List |
public static SendImageApprovedEmail ( int imageId ) : void | ||
imageId | int | |
return | void |
public static UpdateImage ( Models image, string originalName ) : Models.ValidationResult | ||
image | Models | |
originalName | string | |
return | Models.ValidationResult |
public static ValidateImage ( Models image, bool isNewImage ) : Models.ValidationResult | ||
image | Models | |
isNewImage | bool | |
return | Models.ValidationResult |