C# Class Cats.Services.Hub.AccountService

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

Méthodes publiques

Méthode Description
AccountService ( IUnitOfWork unitOfWork ) : System
AddAccount ( Account entity ) : bool
DeleteAccount ( Account account ) : bool
DeleteById ( int id ) : bool
Dispose ( ) : void
EditAccount ( Account entity ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Account
GetAccountId ( string entityType, int entityId ) : int
GetAccountIdWithCreate ( string entityType, int entityId ) : int
GetAllAccount ( ) : List

Method Details

AccountService() public méthode

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

AddAccount() public méthode

public AddAccount ( Account entity ) : bool
entity Cats.Models.Hubs.Account
Résultat bool

DeleteAccount() public méthode

public DeleteAccount ( Account account ) : bool
account Cats.Models.Hubs.Account
Résultat bool

DeleteById() public méthode

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

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditAccount() public méthode

public EditAccount ( Account entity ) : bool
entity Cats.Models.Hubs.Account
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 id ) : Account
id int
Résultat Cats.Models.Hubs.Account

GetAccountId() public méthode

public GetAccountId ( string entityType, int entityId ) : int
entityType string
entityId int
Résultat int

GetAccountIdWithCreate() public méthode

public GetAccountIdWithCreate ( string entityType, int entityId ) : int
entityType string
entityId int
Résultat int

GetAllAccount() public méthode

public GetAllAccount ( ) : List
Résultat List