コード例 #1
0
ファイル: PaymentBo.cs プロジェクト: tranhoangtam/ProjectK8
 public PaymentBo(IOrderDetailBo _orderDetailBo, IProductBo _productBo, IOrderBo _orderBo, IServiceProvider serviceProvider)
 {
     this._orderBo       = _orderBo;
     this._orderDetailBo = _orderDetailBo;
     this._productBo     = _productBo;
     _serviceProvider    = serviceProvider;
 }
コード例 #2
0
 public OrderController(IOrderBo OrderBo, IDistrictBoCached districtBoCached, IWardBoCached wardBoCached, IProductBo productBo, IUserService userService, IHttpContextAccessor httpContextAccessor) : base(userService, httpContextAccessor)
 {
     _orderBo          = OrderBo;
     _districtBoCached = districtBoCached;
     _wardBoCached     = wardBoCached;
     _productBo        = productBo;
 }
コード例 #3
0
 public CartController(IProductBo productBo, IMapper mapper, IPaymentBo paymentBo, IOrderBo orderBo)
 {
     _productBo = productBo;
     _mapper    = mapper;
     _paymentBo = paymentBo;
     _orderBo   = orderBo;
 }
コード例 #4
0
 public OrdersController(IOrderBo OrderBo, IDistrictBoCached districtBoCached, IWardBoCached wardBoCached, IProductBo productBo)
 {
     _orderBo          = OrderBo;
     _districtBoCached = districtBoCached;
     _wardBoCached     = wardBoCached;
     _productBo        = productBo;
 }
コード例 #5
0
 public OrderController(IOrderBo OrderBo, IDistrictBoCached districtBoCached, IWardBoCached wardBoCached, IProductBo productBo, IUserService userService)
 {
     _orderBo          = OrderBo;
     _districtBoCached = districtBoCached;
     _wardBoCached     = wardBoCached;
     _productBo        = productBo;
     _userService      = userService;
 }
コード例 #6
0
 public ProductController(IProductBo productBo, ICategoryBo categoryBo, IParserLinkBo buildLinkBo)
 {
     _productBo   = productBo;
     _categoryBo  = categoryBo;
     _buildLinkBo = buildLinkBo;
 }
コード例 #7
0
 public ProductController()
 {
     _productBo   = new ProductBo();
     _categoryBo  = new CategoryBo();
     _buildLinkBo = new ParserLinkBo();
 }
コード例 #8
0
 public ProductsController(IProductBo productBo)
 {
     _productBo = productBo;
 }
コード例 #9
0
ファイル: OrderBo.cs プロジェクト: tranhoangtam/ProjectK8
 public OrderBo(IServiceProvider serviceProvider, IOrderDetailBo orderDetailBo, IProductBo productBo) : base(serviceProvider)
 {
     _orderDetailBo = orderDetailBo;
     _productBo     = productBo;
 }
コード例 #10
0
 public ProductsController(IProductBo productBo, ICategoryBo categoryBo, ISupplierBo supplierBo)
 {
     _productBo  = productBo;
     _categoryBo = categoryBo;
     _supplierBo = supplierBo;
 }
コード例 #11
0
 public ProductController(IProductBo productBo, IUserService userService, IHttpContextAccessor httpContextAccessor) : base(userService, httpContextAccessor)
 {
     _productBo = productBo;
 }