C# Class Cats.Services.Administration.UserProfileService

Inheritance: IUserProfileService
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode 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 méthode

public AddUserProfile ( UserProfile entity ) : bool
entity Cats.Models.UserProfile
Résultat bool

ChangePassword() public méthode

public ChangePassword ( int profileId, string password ) : bool
profileId int
password string
Résultat bool

DeleteById() public méthode

public DeleteById ( int id ) : bool
id int
Résultat bool

DeleteUserProfile() public méthode

public DeleteUserProfile ( UserProfile entity ) : bool
entity Cats.Models.UserProfile
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditInfo() public méthode

public EditInfo ( UserProfile profile ) : bool
profile Cats.Models.UserProfile
Résultat bool

EditUserProfile() public méthode

public EditUserProfile ( UserProfile entity ) : bool
entity Cats.Models.UserProfile
Résultat bool

FindBy() public méthode

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
Résultat List

FindById() public méthode

public FindById ( int profileId ) : UserProfile
profileId int
Résultat Cats.Models.UserProfile

Get() public méthode

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

GetAllUserProfile() public méthode

public GetAllUserProfile ( ) : List
Résultat List

GetUser() public méthode

public GetUser ( string userName ) : UserProfile
userName string
Résultat Cats.Models.UserProfile

UserProfileService() public méthode

public UserProfileService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
Résultat System