public OrderController(IOrderRepository orderRepository, IProductRepository productRepository, IDotPayService dotPayService, IPurchaseSettingsRepository purchaseSettingsRepository, ISendgridService sendgridService) { this.orderRepository = orderRepository; this.productRepository = productRepository; this.dotPayService = dotPayService; this.purchaseSettingsRepository = purchaseSettingsRepository; this.sendgridService = sendgridService; }
public PurchaseSettingsController(IPurchaseSettingsRepository purchasSettingsRepository, IPersonalPickupBranchRepository personalPickupBranchRepository) { this.purchasSettingsRepository = purchasSettingsRepository; this.personalPickupBranchRepository = personalPickupBranchRepository; }