Beispiel #1
0
 public ProductController()
 {
     var productrapo = new ProductRepository();
     _productService = new ProductService(productrapo);
     var productschedrapo = new ProductScheduleRepository();
     _repositoryschedule = new ProductScheduleService(productschedrapo);
 }
Beispiel #2
0
 public PublisherController(IProductService productService, IBlogService blogService,
                            IWebsiteAttributeService websiteAttributeService, IBlogCategoryService blogCategoryService,
                            IStaffService staffService, IProductAttributeMappingService productAttributeMappingService,
                            IProductRelationshipService productRelationshipService, IProductScheduleService productScheduleService,
                            IOrderService orderService, IOrderItemService orderItemService,
                            IOrderAttributeService orderAttributeService, IOrderAttributeMappingService orderAttributeMappingService,
                            IAdService adService, IAdMaterialMappingService adMaterialService, IMaterialService materialService, IDomainService domainService, ICodeService codeService)
 {
     this._productService                 = productService;
     this._blogService                    = blogService;
     this._websiteAttributeService        = websiteAttributeService;
     this._blogCategoryService            = blogCategoryService;
     this._staffService                   = staffService;
     this._productAttributeMappingService = productAttributeMappingService;
     this._productRelationshipService     = productRelationshipService;
     this._productScheduleService         = productScheduleService;
     this._orderService                   = orderService;
     this._orderAttributeService          = orderAttributeService;
     this._orderAttributeMappingService   = orderAttributeMappingService;
     this._adService = adService;
     this._adMaterialMappingService = adMaterialService;
     this._materialService          = materialService;
     this._domainService            = domainService;
     this._codeService = codeService;
 }
Beispiel #3
0
 public VideoController()
 {
     var videorepo = new VideoRepository();
     _videoService = new VideoService(videorepo);
     var productschedrapo = new ProductScheduleRepository();
     _repositoryschedule = new ProductScheduleService(productschedrapo);
 }
Beispiel #4
0
 public UserController()
 {
     var userrapo = new UserRepository();
     _userService = new UserService(userrapo);
     _repository = new CompanyRepository();
     _productGroupRepository = new ProductGroupRepository();
     var productschedrapo = new ProductScheduleRepository();
     _repositoryschedule = new ProductScheduleService(productschedrapo);
 }
Beispiel #5
0
 public ProductController(IProductService productService, IProductCategoryService productCategoryService,
                          IProductAttributeService productAttributeService, IProductAttributeMappingService productAttributeMappingService,
                          IPictureService pictureService, IProductPictureMappingService productPictureMappingService,
                          IProductRelationshipService productRelationShipService, IProductScheduleService productScheduleService)
 {
     this._productService                 = productService;
     this._productCategoryService         = productCategoryService;
     this._productAttributeService        = productAttributeService;
     this._productAttributeMappingService = productAttributeMappingService;
     this._pictureService                 = pictureService;
     this._productPictureMappingService   = productPictureMappingService;
     this._productRelationShipService     = productRelationShipService;
     this._productScheduleService         = productScheduleService;
 }
 public ProductScheduleController(IProductService productService,
                                  IProductScheduleService productScheduleService,
                                  IProductScheduleAttributeService productScheduleAttributeService,
                                  IProductScheduleAttributeMappingService productScheduleAttributeMappingService,
                                  IProductSchedulePictureMappingService productSchedulePictureMappingService,
                                  IPictureService pictureService)
 {
     this._productScheduleService                 = productScheduleService;
     this._productService                         = productService;
     this._productScheduleAttributeService        = productScheduleAttributeService;
     this._productScheduleAttributeMappingService = productScheduleAttributeMappingService;
     this._productSchedulePictureMappingService   = productSchedulePictureMappingService;
     this._pictureService                         = pictureService;
 }
Beispiel #7
0
 public UserService(IUserRepository repository)
 {
     _repository = repository;
     _companyRepository = new CompanyRepository();
     _calendarRepository = new CalendarRepository();
     _productGroupRepository = new ProductGroupRepository();
     var productschedrapo = new ProductScheduleRepository();
     _repositoryschedule = new ProductScheduleService(productschedrapo);
 }