public CusType GetCreateInfoForCusType() { try { _CusType = new CusType(); _ICusCategoryService = new CusCategoryService(); _CusType.CusCategoryDD = _ICusCategoryService.GetCusCategoryForDD(); return(_CusType); } catch (Exception ex) { _ObjErrorLogService = new ErrorLogService(); _ObjErrorLogService.AddErrorLog(ex, string.Empty, "GetCreateInfoForCusType()", string.Empty); return(null); //throw ex; } }
public CusCategoryController() { _ICusCategoryService = new CusCategoryService(); _IDataManipulation = new DataManipulation(); }