public Result Update(Project project) { var result = new Result(); try { TaskProjectService projectService = new TaskProjectService(); projectService.Update(project); result.IsSuccess = true; } catch (Exception exception) { result.IsSuccess = false; result.ExceptionInfo = exception; } return(result); }