C# Class WhoCanHelpMe.Tasks.ProfileTasks

Inheritance: IProfileTasks
Show file Open project: jongeorge1/Who-Can-Help-Me

Public Methods

Method 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

Method Description
GetCategory ( int categoryId ) : Domain.Category

Method Details

AddAssertion() public method

public AddAssertion ( string userName, int categoryId, string tagName ) : void
userName string
categoryId int
tagName string
return void

CreateProfile() public method

public CreateProfile ( string userName, string firstName, string lastName ) : void
userName string
firstName string
lastName string
return void

DeleteProfile() public method

public DeleteProfile ( string userName ) : void
userName string
return void

GetProfileById() public method

public GetProfileById ( int profileId ) : Profile
profileId int
return Profile

GetProfileByUserName() public method

public GetProfileByUserName ( string userName ) : Profile
userName string
return Profile

ProfileTasks() public method

public ProfileTasks ( ILinqRepository profileRepository, ILinqRepository tagRepository, ILinqRepository categoryRepository ) : System
profileRepository ILinqRepository
tagRepository ILinqRepository
categoryRepository ILinqRepository
return System

RemoveAssertion() public method

public RemoveAssertion ( Profile profile, int assertionId ) : void
profile Profile
assertionId int
return void