public GrpcApiService(
     ISessionService sessionService,
     ISmsVerification smsVerification,
     ILogger <GrpcApiService> logger,
     IAuthService authService,
     IRegistrationTokenService registrationTokenService,
     IEmailVerification emailVerification,
     IPersonalData personalData,
     IClientWalletService clientWalletService,
     IClientAccountManager accountManager,
     IMarketDataService marketDataService,
     IMatchingEngineClient matchingEngineClient)
 {
     _sessionService           = sessionService;
     _smsVerification          = smsVerification;
     _logger                   = logger;
     _authService              = authService;
     _registrationTokenService = registrationTokenService;
     _emailVerification        = emailVerification;
     _personalData             = personalData;
     _clientWalletService      = clientWalletService;
     _accountManager           = accountManager;
     _marketDataService        = marketDataService;
     _matchingEngineClient     = matchingEngineClient;
 }
Example #2
0
 public AccountController(
     [FromServices] IUnitOfWork uow,
     [FromServices] IMapper mapper,
     [FromServices] IConfiguration configuration,
     [FromServices] IHttpContextAccessor httpContextAccessor,
     [FromServices] IUser userMananger,
     [FromServices] IProfile profileMananger,
     [FromServices] ILibrary libraryMananger,
     [FromServices] IEmailVerification emailVerificationService,
     [FromServices] IContact contactMananger
     )
 {
     _uow                      = uow;
     _configuration            = configuration;
     _mapper                   = mapper;
     _httpContext              = httpContextAccessor.HttpContext;
     _userMananger             = userMananger;
     _profileMananger          = profileMananger;
     _libraryMananger          = libraryMananger;
     _emailVerificationService = emailVerificationService;
     _contactMananger          = contactMananger;
 }