Exemplo n.º 1
0
        public async Task <IActionResult> Index()
        {
            List <PayrollResponseDto> response = await _payrollService.GetAllPayrollsAsync();

            return(View(response));
        }