using GameModel; using GameModel.Contracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GameData.Dummy { public class DummyGameRepository : IGameRepository { List gameStates = new List(); public Task Save(GameState gameState) { gameStates.Add(gameState); return Task.FromResult(gameState); } public GameState Load(Guid gameId) { return gameStates.Last(); } public Task Update(Game game) { throw new NotImplementedException(); } public Task Create(Game game) { throw new NotImplementedException(); } public Task LoadGame(Guid gameId) { throw new NotImplementedException(); } public Task Create(string gameName) { throw new NotImplementedException(); } public Task> LoadStates(Guid gameId) { throw new NotImplementedException(); } public Task Delete(IEnumerable gameStates) { throw new NotImplementedException(); } } }