Esempio n. 1
0
        public async Task <IActionResult> DeleteEmployee(Guid employeeId)
        {
            await _deleteEmployeeUseCase.DeleteEmployee(employeeId, _presenter);

            return(_presenter.Render());
        }
Esempio n. 2
0
        public async Task <IActionResult> UpdateEmployee(Domain.Employees.Employee employee)
        {
            await _updateEmployeeUseCase.UpdateEmployee(employee, _presenter);

            return(_presenter.Render());
        }
Esempio n. 3
0
        public async Task <IActionResult> AddEmployee(Domain.Employees.Employee employee)
        {
            await _addEmeployeeUseCase.AddEmployee(employee, _presenter);

            return(_presenter.Render());
        }