public SigmaResultType GetProjectSubcontractor(string projectId) { SigmaResultType result = new SigmaResultType(); try { ProjectMgr projectMgr = new ProjectMgr(); result = projectMgr.GetProjectSubcontractor(projectId); return result; } catch (Exception ex) { // Log Exception ExceptionHelper.logException(ex); result.IsSuccessful = false; result.ErrorMessage = ex.Message; return result; } }
//public SigmaResultType MultiProject(List<TypeProject> listObj) //{ // SigmaResultType result = new SigmaResultType(); // try // { // ProjectMgr projectMgr = new ProjectMgr(); // result = projectMgr.MultiProject(listObj); // return result; // } // catch (Exception ex) // { // // Log Exception // ExceptionHelper.logException(ex); // result.IsSuccessful = false; // result.ErrorMessage = ex.Message; // return result; // } //} public SigmaResultType CloseOpenProject(TypeProject objProject) { SigmaResultType result = new SigmaResultType(); try { ProjectMgr projectMgr = new ProjectMgr(); result = projectMgr.CloseOpenProject(objProject); return result; } catch (Exception ex) { // Log Exception ExceptionHelper.logException(ex); result.IsSuccessful = false; result.ErrorMessage = ex.Message; return result; } }