C# 클래스 Cats.Services.Hub.AccountService

상속: IAccountService
파일 보기 프로젝트 열기: edgecomputing/cats

공개 메소드들

메소드 설명
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

메소드 상세

AccountService() 공개 메소드

public AccountService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
리턴 System

AddAccount() 공개 메소드

public AddAccount ( Account entity ) : bool
entity Cats.Models.Hubs.Account
리턴 bool

DeleteAccount() 공개 메소드

public DeleteAccount ( Account account ) : bool
account Cats.Models.Hubs.Account
리턴 bool

DeleteById() 공개 메소드

public DeleteById ( int id ) : bool
id int
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EditAccount() 공개 메소드

public EditAccount ( Account entity ) : bool
entity Cats.Models.Hubs.Account
리턴 bool

FindBy() 공개 메소드

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
리턴 List

FindById() 공개 메소드

public FindById ( int id ) : Account
id int
리턴 Cats.Models.Hubs.Account

GetAccountId() 공개 메소드

public GetAccountId ( string entityType, int entityId ) : int
entityType string
entityId int
리턴 int

GetAccountIdWithCreate() 공개 메소드

public GetAccountIdWithCreate ( string entityType, int entityId ) : int
entityType string
entityId int
리턴 int

GetAllAccount() 공개 메소드

public GetAllAccount ( ) : List
리턴 List