Example #1
0
 public async Task <MapVm> GetByName(string name, int?gameId = null)
 => await((gameId.HasValue)
         ? _mapRepository.GetVmByNameAsync(PlayerId, gameId, name)
         : _mapRepository.GetVmByNameAsync(PlayerId, name));