Пример #1
0
 public HomeController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work,
                       iPow.Application.dj.Service.IHomeService ipowHomeService,
                       iPow.Application.dj.Service.ITourPlanService ipowTourPlanService) :
     base(work)
 {
     if (ipowHomeService == null)
     {
         throw new ArgumentNullException("homeService is null");
     }
     if (ipowTourPlanService == null)
     {
         throw new ArgumentNullException("tourPlanService is null");
     }
     homeService     = ipowHomeService;
     tourPlanService = ipowTourPlanService;
 }
Пример #2
0
 public HomeController(iPow.Infrastructure.Crosscutting.NetFramework.IWorkContext work,
     iPow.Application.dj.Service.IHomeService ipowHomeService,
     iPow.Application.dj.Service.ITourPlanService ipowTourPlanService)
     : base(work)
 {
     if (ipowHomeService == null)
     {
         throw new ArgumentNullException("homeService is null");
     }
     if (ipowTourPlanService == null)
     {
         throw new ArgumentNullException("tourPlanService is null");
     }
     homeService = ipowHomeService;
     tourPlanService = ipowTourPlanService;
 }