public SubscriptionService(IRepository <Subscription> subscriptionRepository, IRepository <Supplier> supplierRepository, IRepository <Customer> customerRepository, ITrendService trendService) { _supplierRepository = supplierRepository; _subscriptionRepository = subscriptionRepository; _customerRepository = customerRepository; _trendService = trendService; }
public HighChartController(ITrendService service) { _service = service; }
public ApiController(ITrendService trendService) { this.trendService = trendService; }
public HomeController(ITrendService trendService) { this.trendService = trendService ?? throw new ArgumentNullException(nameof(trendService)); }
public TrendController(ITrendService server) { _server = server; }