public async Task <IActionResult> FindAsync( [FromQuery] TNamedFilters filters ) { var result = await _service.FindAsync(_mapper.Map <TNamedFilters>(filters)); return(Ok(_mapper.Map <IEnumerable <TNamedModel> >(result))); }
public async Task <IActionResult> FindAsync( [FromQuery] TNamedFilters filters ) { var result = await _service.FindAsync(_mapper.Map <TNamedFilters>(filters)); return(Ok(_mapper.Map <IEnumerable <TNamedModel> >(result))); }