C# Class BLL.ImageProfile

Datei anzeigen Open project: cdadmin/clonedeploy

Public Methods

Method 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 method

public static AddProfile ( Models profile ) : Models.ValidationResult
profile Models
return Models.ValidationResult

CloneProfile() public static method

public static CloneProfile ( Models imageProfile ) : void
imageProfile Models
return void

DeleteImage() public static method

public static DeleteImage ( int imageId ) : bool
imageId int
return bool

DeleteProfile() public static method

public static DeleteProfile ( int profileId ) : bool
profileId int
return bool

GetAllProfiles() public static method

public static GetAllProfiles ( ) : List
return List

ReadProfile() public static method

public static ReadProfile ( int profileId ) : Models.ImageProfile
profileId int
return Models.ImageProfile

SearchProfiles() public static method

public static SearchProfiles ( int imageId ) : List
imageId int
return List

SeedDefaultImageProfile() public static method

public static SeedDefaultImageProfile ( Models image ) : Models.ImageProfile
image Models
return Models.ImageProfile

UpdateProfile() public static method

public static UpdateProfile ( Models profile ) : Models.ValidationResult
profile Models
return Models.ValidationResult

ValidateImageProfile() public static method

public static ValidateImageProfile ( Models imageProfile, bool isNewImageProfile ) : Models.ValidationResult
imageProfile Models
isNewImageProfile bool
return Models.ValidationResult