C# Класс WhoCanHelpMe.Tasks.ProfileTasks

Наследование: IProfileTasks
Показать файл Открыть проект

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

Метод Описание
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

Приватные методы

Метод Описание
GetCategory ( int categoryId ) : Domain.Category

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

AddAssertion() публичный Метод

public AddAssertion ( string userName, int categoryId, string tagName ) : void
userName string
categoryId int
tagName string
Результат void

CreateProfile() публичный Метод

public CreateProfile ( string userName, string firstName, string lastName ) : void
userName string
firstName string
lastName string
Результат void

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

public DeleteProfile ( string userName ) : void
userName string
Результат void

GetProfileById() публичный Метод

public GetProfileById ( int profileId ) : Profile
profileId int
Результат Profile

GetProfileByUserName() публичный Метод

public GetProfileByUserName ( string userName ) : Profile
userName string
Результат Profile

ProfileTasks() публичный Метод

public ProfileTasks ( ILinqRepository profileRepository, ILinqRepository tagRepository, ILinqRepository categoryRepository ) : System
profileRepository ILinqRepository
tagRepository ILinqRepository
categoryRepository ILinqRepository
Результат System

RemoveAssertion() публичный Метод

public RemoveAssertion ( Profile profile, int assertionId ) : void
profile Profile
assertionId int
Результат void