public SigmaResultType AddProjectCostCode(TypeProjectCostCode objProjectCostCode) { SigmaResultType result = new SigmaResultType(); try { CostCodeMgr costCodeMgr = new CostCodeMgr(); result = costCodeMgr.AddProjectCostCode(objProjectCostCode); return result; } catch (Exception ex) { // Log Exception ExceptionHelper.logException(ex); result.IsSuccessful = false; result.ErrorMessage = ex.Message; return result; } }