コード例 #1
0
 public FDICircularAdminController()
 {
     try
     {
         iFDICircular = new FDICircularRepository();
     }
     catch (Exception ex)
     {
         Utility.WriteLog("FDICircularAdminController (Admin)", null, "Error while initialize repository.", ex.ToString());
     }
 }
コード例 #2
0
 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());
     }
 }