public async Task <string> GetCardsForPlayers(int idGame, string nameUser, int roundId) { try { var userCards = await _roundService.GetCardsForStartGame(idGame, nameUser, roundId); return(JsonConvert.SerializeObject(userCards)); } catch (Exception e) { LogWriter.WriteLog(e.Message, "GameApiController"); throw; } }