Exemplo n.º 1
0
 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;
 }
Exemplo n.º 3
0
 public ApiController(ITrendService trendService)
 {
     this.trendService = trendService;
 }
Exemplo n.º 4
0
 public HomeController(ITrendService trendService)
 {
     this.trendService = trendService ?? throw new ArgumentNullException(nameof(trendService));
 }
Exemplo n.º 5
0
 public TrendController(ITrendService server)
 {
     _server = server;
 }