public async Task <IActionResult> GetMapFormats() { var mapFormats = await _repo.GetMapFormatsAsync(); var mapFormatsToReturn = _mapper.Map <IEnumerable <MapFormatToReturnDto> >(mapFormats); return(Ok(mapFormatsToReturn)); }
public async Task <IActionResult> GetMapFormats() { var mapFormats = await _repo.GetMapFormatsAsync(); var mapFormatsToReturn = _mapper.Map <IEnumerable <MapFormatToReturnDto> >(mapFormats); return(Ok(mapFormatsToReturn)); }