C# Class BLL.ImageProfile

Afficher le fichier Open project: cdadmin/clonedeploy

Méthodes publiques

Méthode Description
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

Method Details

AddProfile() public static méthode

public static AddProfile ( Models profile ) : Models.ValidationResult
profile Models
Résultat Models.ValidationResult

CloneProfile() public static méthode

public static CloneProfile ( Models imageProfile ) : void
imageProfile Models
Résultat void

DeleteImage() public static méthode

public static DeleteImage ( int imageId ) : bool
imageId int
Résultat bool

DeleteProfile() public static méthode

public static DeleteProfile ( int profileId ) : bool
profileId int
Résultat bool

GetAllProfiles() public static méthode

public static GetAllProfiles ( ) : List
Résultat List

ReadProfile() public static méthode

public static ReadProfile ( int profileId ) : Models.ImageProfile
profileId int
Résultat Models.ImageProfile

SearchProfiles() public static méthode

public static SearchProfiles ( int imageId ) : List
imageId int
Résultat List

SeedDefaultImageProfile() public static méthode

public static SeedDefaultImageProfile ( Models image ) : Models.ImageProfile
image Models
Résultat Models.ImageProfile

UpdateProfile() public static méthode

public static UpdateProfile ( Models profile ) : Models.ValidationResult
profile Models
Résultat Models.ValidationResult

ValidateImageProfile() public static méthode

public static ValidateImageProfile ( Models imageProfile, bool isNewImageProfile ) : Models.ValidationResult
imageProfile Models
isNewImageProfile bool
Résultat Models.ValidationResult