Exemplo n.º 1
0
        public async Task <EmployeeTask> DeleteEmpolyeeTask(EmployeeTask empolyeeTask)
        {
            await _employeeTaskRepository.DeleteAsync(empolyeeTask);

            return(empolyeeTask);
        }
Exemplo n.º 2
0
        public async Task <ActionResult> Delete(int employeeId, int taskId)
        {
            await _repo.DeleteAsync(employeeId, taskId);

            return(RedirectToAction("Index"));
        }