Пример #1
0
 public LandingPageService(IPortfolioService PortfolioService, IMediaDashboardService MediaDashboardService, IMyHomeService MyHomeService, IHardwareMonitorService HardwareService)
 {
     portfolioService      = PortfolioService;
     mediaDashboardService = MediaDashboardService;
     myHomeService         = MyHomeService;
     hardwareService       = HardwareService;
 }
Пример #2
0
 public BaseController()
 {
     landingPageService    = DependencyResolver.Current.GetService <ILandingPageService>();
     portfolioService      = DependencyResolver.Current.GetService <IPortfolioService>();
     mediaDashboardService = DependencyResolver.Current.GetService <IMediaDashboardService>();
     myHomeService         = DependencyResolver.Current.GetService <IMyHomeService>();
     hardwareService       = DependencyResolver.Current.GetService <IHardwareMonitorService>();
 }