예제 #1
0
 public UsersWalletsController([FromServices]
                               IUserService userService,
                               IUserWalletService userWalletService,
                               ISessionService sessionService)
 {
     UserService       = userService;
     UserWalletService = userWalletService;
     SessionService    = sessionService;
 }
예제 #2
0
 public PaymentsController([FromServices]
                           IUserService userService,
                           IPaymentService paymentService,
                           IUserWalletService userWalletService,
                           ISessionService sessionService)
 {
     UserService       = userService;
     PaymentService    = paymentService;
     UserWalletService = userWalletService;
     SessionService    = sessionService;
 }
 public AuthController([FromServices]
                       IUserService userService,
                       ITokenManager tokenManager,
                       IUserSessionService userSessionService,
                       IProblemService problemService,
                       IUserWalletService userWalletService,
                       ISpecialistService specialistService)
 {
     UserService        = userService;
     TokenManager       = tokenManager;
     UserSessionService = userSessionService;
     ProblemService     = problemService;
     UserWalletService  = userWalletService;
     SpecialistService  = specialistService;
 }
        public void SetServices(
            ISessionService sessionService,
            IUserWalletService userWalletService,
            NotificationsMessageHandler notificationsService)
        {
            if (SessionService == null)
            {
                SessionService = sessionService;
            }

            if (UserWalletService == null)
            {
                UserWalletService = userWalletService;
            }

            if (NotificationsService == null)
            {
                NotificationsService = notificationsService;
            }

            SessionsQuenue.AddRange(GetActiveSessions());
            StartTimers();
        }
예제 #5
0
        public PatientController([FromServices]
                                 IUserService userService,
                                 IProblemService problemService,
                                 ISessionService sessionService,
                                 ISpecialistService specialistService,
                                 IReviewService reviewService,
                                 IUserWalletService userWalletService,
                                 IProblemImageService problemImageService,
                                 IProblemResourceService problemResourceService,
                                 IProblemResourceTaskService problemResourceTaskService,
                                 NotificationsMessageHandler notificationsService)
        {
            UserService                = userService;
            ProblemService             = problemService;
            SessionService             = sessionService;
            SpecialistService          = specialistService;
            ReviewService              = reviewService;
            UserWalletService          = userWalletService;
            ProblemImageService        = problemImageService;
            ProblemResourceService     = problemResourceService;
            ProblemResourceTaskService = problemResourceTaskService;

            NotificationsService = notificationsService;
        }
예제 #6
0
 public UserWalletController(IUserWalletService userWalletService, UserManager <ApplicationUser> userManager)
 {
     _userManager       = userManager;
     _userWalletService = userWalletService;
 }
예제 #7
0
 public HomeController(UserManager <ApplicationUser> userManager, IRatesServices ratesServices, IUserWalletService userWalletService)
 {
     _userManager       = userManager;
     _ratesServices     = ratesServices;
     _userWalletService = userWalletService;
 }