C# Class Cats.Services.Administration.UserProfileService

Inheritance: IUserProfileService
Show file Open project: edgecomputing/cats

Public Methods

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

Method Details

AddUserProfile() public method

public AddUserProfile ( UserProfile entity ) : bool
entity Cats.Models.UserProfile
return bool

ChangePassword() public method

public ChangePassword ( int profileId, string password ) : bool
profileId int
password string
return bool

DeleteById() public method

public DeleteById ( int id ) : bool
id int
return bool

DeleteUserProfile() public method

public DeleteUserProfile ( UserProfile entity ) : bool
entity Cats.Models.UserProfile
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditInfo() public method

public EditInfo ( UserProfile profile ) : bool
profile Cats.Models.UserProfile
return bool

EditUserProfile() public method

public EditUserProfile ( UserProfile entity ) : bool
entity Cats.Models.UserProfile
return bool

FindBy() public method

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
return List

FindById() public method

public FindById ( int profileId ) : UserProfile
profileId int
return Cats.Models.UserProfile

Get() public method

public Get ( bool>.Expression filter = null, Func orderBy = null, string includeProperties = "" ) : List
filter bool>.Expression
orderBy Func
includeProperties string
return List

GetAllUserProfile() public method

public GetAllUserProfile ( ) : List
return List

GetUser() public method

public GetUser ( string userName ) : UserProfile
userName string
return Cats.Models.UserProfile

UserProfileService() public method

public UserProfileService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
return System