Ejemplo n.º 1
0
 public IActionResult ApproveWork(int workId)
 {
     workRepository.EditWorkStatus(workId, Status.Approved);
     return(RedirectToAction("ShowTaskWorks", new { @taskId = _taskId }));
 }