12 lines
278 B
C#
12 lines
278 B
C#
using Server.Models;
|
|
|
|
namespace Server.Repository;
|
|
|
|
public interface IGameRepository
|
|
{
|
|
public List<Game> GetAllGames();
|
|
public Game GetGame(int id);
|
|
public bool AddGame(Game game);
|
|
public bool EditGame(int id, Game game);
|
|
public bool RemoveGame(int id);
|
|
} |