17 lines
350 B
C#
17 lines
350 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GameModel.Contracts
|
|
{
|
|
public interface IGameRepository
|
|
{
|
|
Task<Game> Create(Game game);
|
|
GameState Load(Guid gameId);
|
|
Task Save(GameState gameState);
|
|
Task Update(Game game);
|
|
}
|
|
}
|