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