C# Class WhoCanHelpMe.Tasks.ProfileTasks

Inheritance: IProfileTasks
Afficher le fichier Open project: jongeorge1/Who-Can-Help-Me

Méthodes publiques

Méthode Description
AddAssertion ( string userName, int categoryId, string tagName ) : void
CreateProfile ( string userName, string firstName, string lastName ) : void
DeleteProfile ( string userName ) : void
GetProfileById ( int profileId ) : Profile
GetProfileByUserName ( string userName ) : Profile
ProfileTasks ( ILinqRepository profileRepository, ILinqRepository tagRepository, ILinqRepository categoryRepository ) : System
RemoveAssertion ( Profile profile, int assertionId ) : void

Private Methods

Méthode Description
GetCategory ( int categoryId ) : Domain.Category

Method Details

AddAssertion() public méthode

public AddAssertion ( string userName, int categoryId, string tagName ) : void
userName string
categoryId int
tagName string
Résultat void

CreateProfile() public méthode

public CreateProfile ( string userName, string firstName, string lastName ) : void
userName string
firstName string
lastName string
Résultat void

DeleteProfile() public méthode

public DeleteProfile ( string userName ) : void
userName string
Résultat void

GetProfileById() public méthode

public GetProfileById ( int profileId ) : Profile
profileId int
Résultat Profile

GetProfileByUserName() public méthode

public GetProfileByUserName ( string userName ) : Profile
userName string
Résultat Profile

ProfileTasks() public méthode

public ProfileTasks ( ILinqRepository profileRepository, ILinqRepository tagRepository, ILinqRepository categoryRepository ) : System
profileRepository ILinqRepository
tagRepository ILinqRepository
categoryRepository ILinqRepository
Résultat System

RemoveAssertion() public méthode

public RemoveAssertion ( Profile profile, int assertionId ) : void
profile Profile
assertionId int
Résultat void