fix
This commit is contained in:
@@ -44,6 +44,11 @@ public class RepositoryBase<TEntity> where TEntity : class
|
||||
return await _context.Set<TEntity>().FindAsync(id);
|
||||
}
|
||||
|
||||
protected TEntity? GetBase(Guid id)
|
||||
{
|
||||
return _context.Set<TEntity>().Find(id);
|
||||
}
|
||||
|
||||
protected async Task<int> AddBaseAsync(TEntity entity)
|
||||
{
|
||||
//await _context.Set<TEntity>().AddAsync(entity);
|
||||
|
||||
Reference in New Issue
Block a user