public async Task <IActionResult> Index()
        {
            List <CompanyListDto> companyList = await _companyAppService.GetAllAsync();

            return(View(companyList));
        }
Esempio n. 2
0
        public async Task <IActionResult> GetAll([FromQuery] CompanyRequestAllDto requestDto)
        {
            var response = await _appService.GetAllAsync(requestDto);

            return(CreateResponseOnGetAll(response, _name));
        }