public IEnumerable <Common.Score> GetScoresPerGame(Common.Game game) { return(controller.GetScoresPerGame(game.ToPOCO()).Select(s => s.ToDTO())); }
public Common.Score CreateScore(int points, Common.Game game, Common.User user) { return(controller.CreateScore(points, game.ToPOCO(), user.ToPOCO()).ToDTO()); }