public FemaSubIndexAdminController() { try { iFemaSubIndex = new FemaSubIndexRepository(); } catch (Exception ex) { Utility.WriteLog("FemaSubIndexAdminController (Admin)", null, "Error while initialize repository.", ex.ToString()); } }
public RegulationOfFEMASubModuleDetailUserController() { try { iFEMASubModuleDetail = new FEMASubModuleDetailRepository(); iFemaIndex = new FemaIndexRepository(); iFemaSubIndex = new FemaSubIndexRepository(); iIndexAmendment = new IndexAmendmentRepository(); } catch (Exception ex) { Utility.WriteLog("FEMASubModuleDetailUserController (User)", null, "Error while initialize repository.", ex.ToString()); } }