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