Created backend
This commit is contained in:
parent
37f949a850
commit
167f9574d2
27 changed files with 534 additions and 0 deletions
14
backend/SinkyShipsAPI/Repositories/IRepository.cs
Normal file
14
backend/SinkyShipsAPI/Repositories/IRepository.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using System.Dynamic;
|
||||
|
||||
namespace SinkyShipsAPI.Repositories;
|
||||
|
||||
public interface IRepository<T>
|
||||
{
|
||||
ValueTask<T> GetById(Guid id);
|
||||
|
||||
bool Create(T entity);
|
||||
|
||||
bool Update(T entity);
|
||||
|
||||
bool Delete(T entity);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue