public async Task <IActionResult> Index() { List <CompanyListDto> companyList = await _companyAppService.GetAllAsync(); return(View(companyList)); }
public async Task <IActionResult> GetAll([FromQuery] CompanyRequestAllDto requestDto) { var response = await _appService.GetAllAsync(requestDto); return(CreateResponseOnGetAll(response, _name)); }