示例#1
0
 public DeviceService(IUnitOfWork unitOfWork,
                      IMemoryCache cache,
                      DeviceDetailMapper deviceDetailMapper,
                      ISubUserClient subUserClient,
                      FetchSubUsersForBusinessUserRequestMapper fetchSubUsersForBusinessUserRequestMapper,
                      TopUpForSubUserRequestMapper topUpForSubUserRequestMapper,
                      BindSubUserToDeviceRequestMapper bindSubUserToDeviceRequest)
 {
     this.unitOfWork         = unitOfWork;
     this.cache              = cache;
     this.deviceDetailMapper = deviceDetailMapper;
     this.subUserClient      = subUserClient;
     this.fetchSubUsersForBusinessUserRequestMapper = fetchSubUsersForBusinessUserRequestMapper;
     this.topUpForSubUserRequestMapper = topUpForSubUserRequestMapper;
     this.bindSubUserToDeviceRequest   = bindSubUserToDeviceRequest;
 }
示例#2
0
 public AccountService(IUnitOfWork unitOfWork,
                       AccountMapper accountMapper,
                       AccountBusinessRules accountBusinessRules,
                       IEmailHandler emailHandler,
                       IMemoryCache cache,
                       IConfiguration configuration,
                       ISubUserClient subUserClient,
                       CreateSubUserRequestMapper createSubUserRequestMapper,
                       FetchSubUsersForBusinessUserRequestMapper fetchSubUsersForBusinessUserRequestMapper)
 {
     this.unitOfWork           = unitOfWork;
     this.accountMapper        = accountMapper;
     this.accountBusinessRules = accountBusinessRules;
     this.emailHandler         = emailHandler;
     this.cache         = cache;
     this.configuration = configuration;
     this.subUserClient = subUserClient;
     this.createSubUserRequestMapper = createSubUserRequestMapper;
     this.fetchSubUsersForBusinessUserRequestMapper = fetchSubUsersForBusinessUserRequestMapper;
 }