C# Класс Cats.Services.Hub.UserProfileService

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

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

Метод Описание
AddUserProfile ( UserProfile entity ) : bool
ChangePassword ( int profileId, string password ) : bool
DeleteById ( int id ) : bool
DeleteUserProfile ( UserProfile entity ) : bool
Dispose ( ) : void
EditInfo ( UserProfile profile ) : bool
EditUserProfile ( UserProfile entity ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int profileId ) : UserProfile
Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : List
GetAllUserProfile ( ) : List
GetUser ( string userName ) : UserProfile
UserProfileService ( IUnitOfWork unitOfWork ) : System

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

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

public AddUserProfile ( UserProfile entity ) : bool
entity Cats.Models.Hubs.UserProfile
Результат bool

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

public ChangePassword ( int profileId, string password ) : bool
profileId int
password string
Результат bool

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

public DeleteById ( int id ) : bool
id int
Результат bool

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

public DeleteUserProfile ( UserProfile entity ) : bool
entity Cats.Models.Hubs.UserProfile
Результат bool

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

public Dispose ( ) : void
Результат void

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

public EditInfo ( UserProfile profile ) : bool
profile Cats.Models.Hubs.UserProfile
Результат bool

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

public EditUserProfile ( UserProfile entity ) : bool
entity Cats.Models.Hubs.UserProfile
Результат bool

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

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
Результат List

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

public FindById ( int profileId ) : UserProfile
profileId int
Результат Cats.Models.Hubs.UserProfile

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

public Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : List
filter bool>.Expression
orderBy Func
includeProperties string
Результат List

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

public GetAllUserProfile ( ) : List
Результат List

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

public GetUser ( string userName ) : UserProfile
userName string
Результат Cats.Models.Hubs.UserProfile

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

public UserProfileService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
Результат System