Ejemplo n.º 1
0
 public SubSectorAdminController()
 {
     try
     {
         iSubSector = new SubSectorRepository();
     }
     catch (Exception ex)
     {
         Utility.WriteLog("SubSectorAdminController (Admin)", null, "Error while initialize repository.", ex.ToString());
     }
 }
 public SectorUserController()
 {
     try
     {
         iSector       = new SectorRepository();
         iSubSector    = new SubSectorRepository();
         iSectorDetail = new SectorDetailRepository();
     }
     catch (Exception ex)
     {
         Utility.WriteLog("SectorUserController (User)", null, "Error while initialize repository.", ex.ToString());
     }
 }