public IActionResult Get(int id) { var task = _taskBusiness.FindById(id); if (task == null) { return(NotFound()); } return(Ok(task)); }