etc
This commit is contained in:
parent
214654f696
commit
8e8ec873b2
|
|
@ -55,8 +55,10 @@ namespace AyCode.Database.DataLayers.Users
|
|||
=> GetAllModelDtoAsync<TUserModelDto, TUser>();
|
||||
|
||||
public Task<List<TUser>> GetUsersAsync() => SessionAsync(ctx => ctx.Users.ToList());
|
||||
//public Task<List<TUserModelDto>> GetUserEmails() => SessionAsync(ctx => ctx.Users.Select(x => new UserModelDtoEmail(x)).ToList());
|
||||
|
||||
|
||||
|
||||
public Task<bool> AddUserAsync(TUser user)
|
||||
{
|
||||
return TransactionAsync(ctx => ctx.AddUser(user));
|
||||
|
|
|
|||
Loading…
Reference in New Issue