public Message MatchFinished(Guid winner, Guid losser)
{
//update player stats
CloudWarsData.PlayerWin(winner);
CloudWarsData.PlayerLose(losser);
//delete the match
CloudWarsData.DeleteMatch(this.MatchId);
//return the message
return new Message { Winner = winner, Losser = losser, Command = Command.EndGame, MatchId = this.MatchId };
}