Rename old C# backend folder
This commit is contained in:
parent
f3eb84d812
commit
dc685661a7
16 changed files with 0 additions and 0 deletions
14
backend-C#/LeakyShipsAPI/Repositories/IRepository.cs
Normal file
14
backend-C#/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);
|
||||
}
|
|
@ -0,0 +1,6 @@
|
|||
namespace LeakyShipsAPI.Repositories;
|
||||
|
||||
public class PlayerRepository
|
||||
{
|
||||
|
||||
}
|
26
backend-C#/LeakyShipsAPI/Repositories/SessionRepository.cs
Normal file
26
backend-C#/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