コード例 #1
0
ファイル: ProductController.cs プロジェクト: gitAakash/OMS
 public ProductController()
 {
     var productrapo = new ProductRepository();
     _productService = new ProductService(productrapo);
     var productschedrapo = new ProductScheduleRepository();
     _repositoryschedule = new ProductScheduleService(productschedrapo);
 }
コード例 #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;
 }
コード例 #3
0
ファイル: VideoController.cs プロジェクト: gitAakash/OMS
 public VideoController()
 {
     var videorepo = new VideoRepository();
     _videoService = new VideoService(videorepo);
     var productschedrapo = new ProductScheduleRepository();
     _repositoryschedule = new ProductScheduleService(productschedrapo);
 }
コード例 #4
0
ファイル: UserController.cs プロジェクト: gitAakash/OMS
 public UserController()
 {
     var userrapo = new UserRepository();
     _userService = new UserService(userrapo);
     _repository = new CompanyRepository();
     _productGroupRepository = new ProductGroupRepository();
     var productschedrapo = new ProductScheduleRepository();
     _repositoryschedule = new ProductScheduleService(productschedrapo);
 }
コード例 #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;
 }
コード例 #6
0
 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;
 }
コード例 #7
0
ファイル: UserServices.cs プロジェクト: gitAakash/OMS
 public UserService(IUserRepository repository)
 {
     _repository = repository;
     _companyRepository = new CompanyRepository();
     _calendarRepository = new CalendarRepository();
     _productGroupRepository = new ProductGroupRepository();
     var productschedrapo = new ProductScheduleRepository();
     _repositoryschedule = new ProductScheduleService(productschedrapo);
 }