public ProductOrderAppService( IPayApi payApi, IRepository <ProductOrder, Guid> repository, IPayOrderRepository payOrderRepository, IMallShopLookupService mallShopLookupService, ISettingProvider setting, IHttpContextAccessor httpContext, IHttpContextAccessor httpContextAccessor, IAsyncQueryableExecuter asyncQueryableExecuter, IAppProvider appProvider, RabbitMqPublisher rabbit, IMediator mediator ) : base(repository) { _payApi = payApi; _payOrderRepository = payOrderRepository; _mallShopLookupService = mallShopLookupService; _setting = setting; _httpContext = httpContext; _httpContextAccessor = httpContextAccessor; _asyncQueryableExecuter = asyncQueryableExecuter; _appProvider = appProvider; _rabbit = rabbit; _mediator = mediator; base.GetListPolicyName = MallPermissions.ProductOrders.Default; base.GetPolicyName = MallPermissions.ProductOrders.Default; base.UpdatePolicyName = MallPermissions.ProductOrders.Update; base.DeletePolicyName = MallPermissions.ProductOrders.Delete; }
public RefundAgreeEventHandle( IRepository <RefundLog, Guid> refundLogRepository, IRepository <PayOrder, Guid> payOrderRepository, IRepository <ProductOrder, Guid> productOrderRepository, IMediator mediator, AppProvider appProvider, ISettingProvider settingProvider, IPayApi payApi ) { _refundLogRepository = refundLogRepository; _payOrderRepository = payOrderRepository; _productOrderRepository = productOrderRepository; _mediator = mediator; _appProvider = appProvider; _settingProvider = settingProvider; _payApi = payApi; }
public ProductOrderAppService( IPayApi payApi, IRepository <ProductOrder, Guid> repository, IMallShopLookupService mallShopLookupService, ISettingProvider setting, IHttpContextAccessor httpContext, IHttpContextAccessor httpContextAccessor, IAppProvider appProvider ) : base(repository) { _payApi = payApi; _mallShopLookupService = mallShopLookupService; _setting = setting; _httpContext = httpContext; _httpContextAccessor = httpContextAccessor; _appProvider = appProvider; base.GetListPolicyName = MallPermissions.ProductOrders.Default; base.GetPolicyName = MallPermissions.ProductOrders.Default; base.UpdatePolicyName = MallPermissions.ProductOrders.Update; base.DeletePolicyName = MallPermissions.ProductOrders.Delete; }