Esempio n. 1
0
        public async Task <ActionResult <Lobby> > GetLobbyAsync(string id)
        {
            var result = await _lobbyService.GetSingleLobbyAsync(id);

            if (result == null)
            {
                return(StatusCode(404));
            }
            return(result);
        }