public MasterDirectionFAQAdminController() { try { iMasterDirectionFAQ = new MasterDirectionFAQRepository(); } catch (Exception ex) { Utility.WriteLog("MasterDirectionFAQAdminController (Admin)", null, "Error while initialize repository.", ex.ToString()); } }
public MasterDirectionOfFEMASubModuleDetailUserController() { try { iFEMASubModuleDetail = new FEMASubModuleDetailRepository(); iMasterDirectionChapter = new MasterDirectionChapterRepository(); iMasterDirectionIndex = new MasterDirectionIndexRepository(); iMasterDirectionSubIndex = new MasterDirectionSubIndexRepository(); iMasterDirectionIndexAmendment = new MasterDirectionIndexAmendmentRepository(); iMasterDirectionFAQ = new MasterDirectionFAQRepository(); } catch (Exception ex) { Utility.WriteLog("MasterDirectionOfFEMASubModuleDetailUserController (User)", null, "Error while initialize repository.", ex.ToString()); } }