C# 클래스 BLL.Image

파일 보기 프로젝트 열기: cdadmin/clonedeploy

공개 메소드들

메소드 설명
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

메소드 상세

AddImage() 공개 정적인 메소드

public static AddImage ( Models image ) : Models.ValidationResult
image Models
리턴 Models.ValidationResult

Calculate_Hash() 공개 정적인 메소드

public static Calculate_Hash ( string fileName ) : string
fileName string
리턴 string

CheckApprovalAndChecksum() 공개 정적인 메소드

public static CheckApprovalAndChecksum ( Models image, int userId ) : Models.ValidationResult
image Models
userId int
리턴 Models.ValidationResult

DeleteImage() 공개 정적인 메소드

public static DeleteImage ( Models image ) : Models.ValidationResult
image Models
리턴 Models.ValidationResult

ExportCsv() 공개 정적인 메소드

public static ExportCsv ( string path ) : void
path string
리턴 void

GetImage() 공개 정적인 메소드

public static GetImage ( int imageId ) : Models.Image
imageId int
리턴 Models.Image

GetOnDemandImageList() 공개 정적인 메소드

public static GetOnDemandImageList ( int userId ) : List
userId int
리턴 List

ImageCountUser() 공개 정적인 메소드

public static ImageCountUser ( int userId ) : string
userId int
리턴 string

ImportCsv() 공개 정적인 메소드

public static ImportCsv ( string path ) : int
path string
리턴 int

SearchImages() 공개 정적인 메소드

public static SearchImages ( string searchString = "" ) : List
searchString string
리턴 List

SearchImagesForUser() 공개 정적인 메소드

public static SearchImagesForUser ( int userId, string searchString = "" ) : List
userId int
searchString string
리턴 List

SendImageApprovedEmail() 공개 정적인 메소드

public static SendImageApprovedEmail ( int imageId ) : void
imageId int
리턴 void

TotalCount() 공개 정적인 메소드

public static TotalCount ( ) : string
리턴 string

UpdateImage() 공개 정적인 메소드

public static UpdateImage ( Models image, string originalName ) : Models.ValidationResult
image Models
originalName string
리턴 Models.ValidationResult

ValidateImage() 공개 정적인 메소드

public static ValidateImage ( Models image, bool isNewImage ) : Models.ValidationResult
image Models
isNewImage bool
리턴 Models.ValidationResult