Exemplo n.º 1
0
 public AccountService(
     IAccountRepository <AccountModelBussines <int>, int> accountDataService,
     IAccountSubscriptionService <AccountSubscriptionModelApi <int>, int> accountSubscriptionService,
     IRedisCachingService redisCachingService
     )
 {
     this._accountRepository          = accountDataService;
     this._accountSubscriptionService = accountSubscriptionService;
     this._redisCachingService        = redisCachingService;
 }
 public AccountSubscriptionController(IAccountSubscriptionService <AccountSubscriptionModelApi <int>, int> accountSubscriptionService)
 {
     _accountSubscriptionService = accountSubscriptionService;
 }