public PlayerResult Create(DataContracts.Player player) { var modelPlayer = player.ToDomainModel(); ValidatePlayer(ref modelPlayer); var result = Manager.Create(modelPlayer); return(new PlayerResult() { Player = result.ToDataModel(), Status = new Status() { Code = "200" } }); }
public PlayerResult Update(DataContracts.Player player, string playerId) { throw new NotImplementedException(); }