Esempio n. 1
0
 public DeviceController(IDeviceService deviceService, IPaymentService paymentService, ITopupService topupService)
 {
     this.deviceService  = deviceService;
     this.paymentService = paymentService;
     this.topupService   = topupService;
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TopUpController"/> class.
 /// </summary>
 /// <param name="topUpService">The top up service.</param>
 public TopUpController(
     ITopupService topUpService)
 {
     this.topUpService = topUpService;
 }