Exemple #1
0
 public TrackingRecordController(IServiceProvider serviceProvider)
 {
     mapper = serviceProvider.GetService <IMapper>();
     appUserSessionService        = serviceProvider.GetService <IAppUserSessionService>();
     trackingRecordService        = serviceProvider.GetService <ITrackingRecordService>();
     trackingRecordGenericService = serviceProvider.GetService <IGenericService <TrackingRecord> >();
 }
 public CustomerService(IUserService userService,
                        IBodyService bodyService, ITrackingRecordService trackingRecordService, ISkinService skinService) : base("DefaultConnection")
 {
     this.userService           = userService;
     this.bodyService           = bodyService;
     this.trackingRecordService = trackingRecordService;
     this.skinService           = skinService;
 }
 public TrackingController(IAppUserSessionService appUserSessionService, IUserWebsiteService userWebsiteService, IWebsiteService websiteService, ITrackingRecordService trackingRecordService, IGenericService <PricePosition> pricePositionService, IHtmlLoaderService htmlLoaderService)
 {
     this.appUserSessionService = appUserSessionService;
     this.userWebsiteService    = userWebsiteService;
     this.websiteService        = websiteService;
     this.trackingRecordService = trackingRecordService;
     this.pricePositionService  = pricePositionService;
     this.htmlLoaderService     = htmlLoaderService;
 }