C# Класс BLL.ImageProfile

Показать файл Открыть проект

Открытые методы

Метод Описание
AddProfile ( Models profile ) : Models.ValidationResult
CloneProfile ( Models imageProfile ) : void
DeleteImage ( int imageId ) : bool
DeleteProfile ( int profileId ) : bool
GetAllProfiles ( ) : List
ReadProfile ( int profileId ) : Models.ImageProfile
SearchProfiles ( int imageId ) : List
SeedDefaultImageProfile ( Models image ) : Models.ImageProfile
UpdateProfile ( Models profile ) : Models.ValidationResult
ValidateImageProfile ( Models imageProfile, bool isNewImageProfile ) : Models.ValidationResult

Описание методов

AddProfile() публичный статический Метод

public static AddProfile ( Models profile ) : Models.ValidationResult
profile Models
Результат Models.ValidationResult

CloneProfile() публичный статический Метод

public static CloneProfile ( Models imageProfile ) : void
imageProfile Models
Результат void

DeleteImage() публичный статический Метод

public static DeleteImage ( int imageId ) : bool
imageId int
Результат bool

DeleteProfile() публичный статический Метод

public static DeleteProfile ( int profileId ) : bool
profileId int
Результат bool

GetAllProfiles() публичный статический Метод

public static GetAllProfiles ( ) : List
Результат List

ReadProfile() публичный статический Метод

public static ReadProfile ( int profileId ) : Models.ImageProfile
profileId int
Результат Models.ImageProfile

SearchProfiles() публичный статический Метод

public static SearchProfiles ( int imageId ) : List
imageId int
Результат List

SeedDefaultImageProfile() публичный статический Метод

public static SeedDefaultImageProfile ( Models image ) : Models.ImageProfile
image Models
Результат Models.ImageProfile

UpdateProfile() публичный статический Метод

public static UpdateProfile ( Models profile ) : Models.ValidationResult
profile Models
Результат Models.ValidationResult

ValidateImageProfile() публичный статический Метод

public static ValidateImageProfile ( Models imageProfile, bool isNewImageProfile ) : Models.ValidationResult
imageProfile Models
isNewImageProfile bool
Результат Models.ValidationResult