Create models and Clean Arch boilerplate
This commit is contained in:
parent
3926db5446
commit
872dc1e263
21 changed files with 576 additions and 27 deletions
13
CSR.Application/Interfaces/IRoleRepository.cs
Normal file
13
CSR.Application/Interfaces/IRoleRepository.cs
Normal file
|
@ -0,0 +1,13 @@
|
|||
namespace CSR.Application.Interfaces;
|
||||
|
||||
using CSR.Domain.Entities;
|
||||
|
||||
public interface IRoleRepository
|
||||
{
|
||||
Task<Role?> GetByIdAsync(int id);
|
||||
// Task<Role?> GetByNameAsync(string name);
|
||||
// Task<IEnumerable<Role>> GetAllAsync();
|
||||
Task AddAsync(Role role);
|
||||
// Task UpdateAsync(Role role);
|
||||
Task DeleteAsync(int id);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue