using GameLibrary.Models; using System.Collections.Generic; using System.Threading.Tasks; namespace GameLibrary.Repositories { public interface IGameRepository { Task> GetAllGames(string genre = null); Task GetGameById(int id); Task CreateGame(Game game); Task UpdateGame(Game game); Task DeleteGame(int id); } }