Corrected project name
Replaced "Sinky" with "Leaky" in the backend
This commit is contained in:
parent
fe945a3e06
commit
cf92993e8a
18 changed files with 38 additions and 38 deletions
14
backend/LeakyShipsAPI/Repositories/IRepository.cs
Normal file
14
backend/LeakyShipsAPI/Repositories/IRepository.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using System.Dynamic;
|
||||
|
||||
namespace LeakyShipsAPI.Repositories;
|
||||
|
||||
public interface IRepository<T>
|
||||
{
|
||||
ValueTask<T> GetById(Guid id);
|
||||
|
||||
bool Create(T entity);
|
||||
|
||||
bool Update(T entity);
|
||||
|
||||
bool Delete(T entity);
|
||||
}
|
6
backend/LeakyShipsAPI/Repositories/PlayerRepository.cs
Normal file
6
backend/LeakyShipsAPI/Repositories/PlayerRepository.cs
Normal file
|
@ -0,0 +1,6 @@
|
|||
namespace LeakyShipsAPI.Repositories;
|
||||
|
||||
public class PlayerRepository
|
||||
{
|
||||
|
||||
}
|
26
backend/LeakyShipsAPI/Repositories/SessionRepository.cs
Normal file
26
backend/LeakyShipsAPI/Repositories/SessionRepository.cs
Normal file
|
@ -0,0 +1,26 @@
|
|||
using LeakyShipsAPI.Model;
|
||||
|
||||
namespace LeakyShipsAPI.Repositories;
|
||||
|
||||
public class SessionRepository : IRepository<Session>
|
||||
{
|
||||
public ValueTask<Session> GetById(Guid id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public bool Create(Session entity)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public bool Update(Session entity)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public bool Delete(Session entity)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue