Example #1
0
 public async Task <MapVm> GetById(int id, int?gameId = null)
 => await((gameId.HasValue)
         ? _mapRepository.GetVmByIdAsync(PlayerId, gameId, id)
         : _mapRepository.GetVmByIdAsync(PlayerId, id));