コード例 #1
0
        public Result Delete(Project project)
        {
            var result = new Result();

            try
            {
                TaskProjectService projectService = new TaskProjectService();
                projectService.Delete(project);
                result.IsSuccess = true;
            }
            catch (Exception exception)
            {
                result.IsSuccess     = false;
                result.ExceptionInfo = exception;
            }
            return(result);
        }