public RulesSubIndexAdminController() { try { iRulesSubIndex = new RulesSubIndexRepository(); } catch (Exception ex) { Utility.WriteLog("RulesSubIndexAdminController (Admin)", null, "Error while initialize repository.", ex.ToString()); } }
public RulesOfFEMASubModuleDetailUserController() { try { iFEMASubModuleDetail = new FEMASubModuleDetailRepository(); iRulesIndex = new RulesIndexRepository(); iRulesSubIndex = new RulesSubIndexRepository(); iRulesIndexAmendment = new RulesIndexAmendmentRepository(); } catch (Exception ex) { Utility.WriteLog("RulesOfFEMASubModuleDetailUserController (User)", null, "Error while initialize repository.", ex.ToString()); } }