public ProductController(IProductRepository productRepo, IMetaProductRepository metaProductRepo, IProductService productService, ICanSave saver)
 {
     _productRepo = productRepo;
     _metaProductRepo = metaProductRepo;
     _productService = productService;
     this.saver = saver;
 }
Beispiel #2
0
 public BuyerController(IBuyerRepository buyerRepo, IMetaProductRepository metaProductRepo, IBuyerService buyerService, ICanSave saver)
 {
     _buyerRepo = buyerRepo;
     _metaProductRepo = metaProductRepo;
     _buyerService = buyerService;
     this.saver = saver;
 }
 public SaveCommand(ICanSave openSaveControl, IObservable <System.Reactive.Unit> unitObservable)
 {
     this.canSave = openSaveControl;
     unitObservable.Subscribe(
         _ =>
     {
         this.CanExecuteChanged?.Invoke(this, EventArgs.Empty);
     });
 }
 public CampaignController(ICampaignService campaignService, IMessagingService messagingService, ICalendarService calendarService, 
     IProductRepository productRepository, IConfigurationService configurationService, ICanSave saver)
 {
     this.campaignService = campaignService;
     this.messagingService = messagingService;
     this.calendarService = calendarService;
     this.productRepository = productRepository;
     this.configurationService = configurationService;
     this.saver = saver;
 }
Beispiel #5
0
 public ProductService(IProductRepository productRepository, IImageResizer imageResizer, ICanSave saver)
 {
     _productRepository = productRepository;
     _imageResizeService = imageResizer;
     this.saver = saver;
 }
 public ProfileController(IAgencyService agencyService, IImportService importService, ICanSave saver)
 {
     this.agencyService = agencyService;
     this.importService = importService;
     this.saver = saver;
 }
Beispiel #7
0
 public AdminController(IAgencyService agencyService, ICanSave saver, IAgencyRepository agencyRepository)
 {
     this.agencyService = agencyService;
     this.saver = saver;
     this.agencyRepository = agencyRepository;
 }
Beispiel #8
0
 public BuyerService(IBuyerRepository buyerRepo, ICanSave saver)
 {
     _buyerRepo = buyerRepo;
     this.saver = saver;
 }
 public AgencyController(IAgencyService agencyService, ICanSave saver, IFormsAuthentication formAuth)
 {
     this.agencyService = agencyService;
     this.saver = saver;
     this.formsAuth = formAuth;
 }