临时提交2
This commit is contained in:
@@ -1,18 +1,28 @@
|
||||
using AutoMapper;
|
||||
using DMS.Core.Interfaces;
|
||||
using DMS.Core.Interfaces.Repositories;
|
||||
using DMS.Core.Models;
|
||||
using DMS.Infrastructure.Interfaces;
|
||||
using DMS.Infrastructure.Entities;
|
||||
using DMS.Infrastructure.Data;
|
||||
using DMS.Infrastructure.Entities;
|
||||
|
||||
namespace DMS.Infrastructure.Repositories;
|
||||
|
||||
/// <summary>
|
||||
/// 用户仓储类,用于操作DbUser实体
|
||||
/// 用户仓储类,用于操作DbUser实体
|
||||
/// </summary>
|
||||
public class UserRepository : BaseRepository<DbUser>
|
||||
public class UserRepository : BaseRepository<DbUser>, IUserRepository
|
||||
{
|
||||
public UserRepository(SqlSugarDbContext dbContext)
|
||||
: base(dbContext)
|
||||
{
|
||||
}
|
||||
|
||||
public async Task<User> GetByIdAsync(int id) => throw new NotImplementedException();
|
||||
|
||||
public async Task<List<User>> GetAllAsync() => throw new NotImplementedException();
|
||||
|
||||
public async Task<User> AddAsync(User entity) => throw new NotImplementedException();
|
||||
|
||||
public async Task<int> UpdateAsync(User entity) => throw new NotImplementedException();
|
||||
|
||||
public async Task<int> DeleteAsync(User entity) => throw new NotImplementedException();
|
||||
}
|
||||
Reference in New Issue
Block a user