Пример #1
0
 public AuthController(IUserService userService,
                       IEmailService emailService,
                       IWriteWalletService walletService,
                       ISquadService squadService,
                       IOilfieldService oilfieldService,
                       IExtractionService extractionService,
                       IUserInfoService userInfoService,
                       ILimitService limitService)
 {
     _userService       = userService;
     _emailService      = emailService;
     _squadService      = squadService;
     _walletService     = walletService;
     _oilfieldService   = oilfieldService;
     _extractionService = extractionService;
     _userInfoService   = userInfoService;
     _limitService      = limitService;
 }
Пример #2
0
 public TripService(IGoogleService googleService, IExtractionService extractionService)
 {
     _googleService     = googleService;
     _extractionService = extractionService;
 }
Пример #3
0
 public ExtractionController(IExtractionService _iExtractionService)
 {
     iExtractionService = _iExtractionService;
 }
Пример #4
0
 /// <summary>
 /// Constructor for user controller
 /// <param name="userservice">The userservice for the controller</param>
 /// <param name="authenticationService">The authenticationservice for the controller</param>
 /// </summary>
 public TripController(ITripService tripService, IExtractionService extractionService, IAuthenticationService authenticationService)
 {
     _authenticationService = authenticationService;
     _extractionService     = extractionService;
     _tripService           = tripService;
 }
Пример #5
0
 /// <summary>
 /// Class constructor
 /// </summary>
 /// <param name="settings">The database interface</param>
 public LoggingService(IMongoDatabase database, IExtractionService extractionService, ITripService tripService)
 {
     _positions         = database.GetCollection <PositionCollection>("Positions");
     _extractionService = extractionService;
     _tripService       = tripService;
 }