public FDICircularAdminController() { try { iFDICircular = new FDICircularRepository(); } catch (Exception ex) { Utility.WriteLog("FDICircularAdminController (Admin)", null, "Error while initialize repository.", ex.ToString()); } }
public FDICircularUserController() { try { iFDICircular = new FDICircularRepository(); iFDIChapter = new FDIChapterRepository(); iFDICircularIndex = new FDICircularIndexRepository(); iFDICircularSubIndex = new FDICircularSubIndexRepository(); iFDICircularIndexAmendment = new FDICircularIndexAmendmentRepository(); } catch (Exception ex) { Utility.WriteLog("FDICircularUserController (User)", null, "Error while initialize repository.", ex.ToString()); } }