public DashboardController(IStockDetailsService objStockDetailsService, IRecentSearchService objRecentSearchService, IHomeServiceProvider objHomeServiceProvider, IUserDetailService objUserDetailService, IOrderService objOrderService) { this.objStockDetailsService = objStockDetailsService as StockDetailsService; this.objRecentSearchService = objRecentSearchService as RecentSearchService; this.objHomeServiceProvider = objHomeServiceProvider as HomeServiceProvider; this.objUserDetailService = objUserDetailService as UserDetailService; this.objOrderService = objOrderService as OrderService; }
public UserController(IUserDetailService objUDSvc, IHomeServiceProvider objHSSvc, IDownloadScriptService objDSSvc) { this.objUDSvc = objUDSvc as UserDetailService; this.objHSSvc = objHSSvc as HomeServiceProvider; this.objDSSvc = objDSSvc as DownloadScriptService; }
public HomeController(IHomeServiceProvider objHomeServiceProvider, IUserDetailService objUDSvc) { this.objHomeServiceProvider = objHomeServiceProvider as HomeServiceProvider; this.objUDSvc = objUDSvc as UserDetailService; }