public IActionResult ApproveTask(Guid taskId, bool isapprove) { var task = _taskLogic.AproveTask(taskId, isapprove); if (task) { return(Ok()); } return(NotFound()); }
public IActionResult ApproveTask(Guid taskId, bool isapprove) { var task = _taskLogic.AproveTask(taskId, isapprove); if (task) { return(Ok()); } return(NotFound()); }