C# Class Scheduler.Repository.UserRepository

Inheritance: IUserRepository
ファイルを表示 Open project: math-os/mathos-scheduler

Public Methods

Method Description
AddAsync ( IUnitOfWork unitOfWork, IUser entity ) : Task
AddAsync ( IUnitOfWork unitOfWork, List entities, List roles = null ) : Task
CreateUnitOfWork ( ) : IUnitOfWork
DeleteAsync ( IUser entity ) : Task
DeleteAsync ( string userId ) : Task
GetAsync ( string ID ) : Task
GetAsync ( ) : Task>
UpdateAsync ( IUser entity ) : Task
UserRepository ( IRepository repository ) : AutoMapper

Method Details

AddAsync() public method

public AddAsync ( IUnitOfWork unitOfWork, IUser entity ) : Task
unitOfWork IUnitOfWork
entity IUser
return Task

AddAsync() public method

public AddAsync ( IUnitOfWork unitOfWork, List entities, List roles = null ) : Task
unitOfWork IUnitOfWork
entities List
roles List
return Task

CreateUnitOfWork() public method

public CreateUnitOfWork ( ) : IUnitOfWork
return IUnitOfWork

DeleteAsync() public method

public DeleteAsync ( IUser entity ) : Task
entity IUser
return Task

DeleteAsync() public method

public DeleteAsync ( string userId ) : Task
userId string
return Task

GetAsync() public method

public GetAsync ( string ID ) : Task
ID string
return Task

GetAsync() public method

public GetAsync ( ) : Task>
return Task>

UpdateAsync() public method

public UpdateAsync ( IUser entity ) : Task
entity IUser
return Task

UserRepository() public method

public UserRepository ( IRepository repository ) : AutoMapper
repository IRepository
return AutoMapper