Esempio n. 1
0
 public HomeController(
     IDataStore <Hubb> hubDataStore,
     IDataStore <Reviews> reviewsdataStore,
     IReviewService reviewService, IHubsService hubsService)
 {
     _hubDataStore     = hubDataStore;
     _reviewsdataStore = reviewsdataStore;
     _reviewService    = reviewService;
     _hubsService      = hubsService;
 }
Esempio n. 2
0
        public AdminController(
            SignInManager <ApplicationUser> signInManager,
            IDataStore <Hubb> hubdataStore,
            IDataStore <Claimer> claimersDataStore,
            IHubsService hubsService)
        {
            _hubDataStore = hubdataStore;

            _signInManager     = signInManager;
            _claimersDataStore = claimersDataStore;
            _hubsService       = hubsService;
        }
Esempio n. 3
0
 public ChatsService(
     IRepository <ChatMessage> chatMessagesRepository,
     ICurrentUserService currentUserService,
     UserManager <AppUser> userManager,
     ITimeService timeService,
     IHubsService hubsService)
 {
     _chatMessagesRepository = chatMessagesRepository;
     _currentUserService     = currentUserService;
     _userManager            = userManager;
     _timeService            = timeService;
     _hubsService            = hubsService;
 }
Esempio n. 4
0
 public StudentTutorsService(
     IRepository <StudentTutor> studentTutorsRepository,
     ICurrentUserService currentUserService,
     IModuleTutorsRepository moduleTutorsRepository,
     IRepository <TutoringSession> tutoringSessionsRepository,
     IRepository <StudentTutorIgnore> studentTutorIgnoresRepository,
     IHubsService hubsService)
 {
     _studentTutorsRepository       = studentTutorsRepository;
     _currentUserService            = currentUserService;
     _moduleTutorsRepository        = moduleTutorsRepository;
     _tutoringSessionsRepository    = tutoringSessionsRepository;
     _studentTutorIgnoresRepository = studentTutorIgnoresRepository;
     _hubsService = hubsService;
 }
Esempio n. 5
0
 public DashController(SignInManager <ApplicationUser> signInManager,
                       IWebHostEnvironment webHostEnvironment,
                       IOwnerService ownerService,
                       IDataStore <Hubb> hubDataStore,
                       IHubsService hubsService
                       , IDataStore <Owner> dataStore)
 {
     _signInManager      = signInManager;
     _webHostEnvironment = webHostEnvironment;
     _ownerService       = ownerService;
     _hubDataStore       = hubDataStore;
     _hubsService        = hubsService;
     // _ownerDataStore = ownerDataStore;
     this.dataStore = dataStore;
 }
 public TutoringSessionsService(
     IRepository <TutoringSession> tutoringSessionsRepository,
     UserManager <AppUser> userManager,
     ICurrentUserService currentUserService,
     ITimeService timeService,
     IEmailService emailService,
     IHubsService hubsService)
 {
     _tutoringSessionsRepository = tutoringSessionsRepository;
     _userManager        = userManager;
     _currentUserService = currentUserService;
     _timeService        = timeService;
     _emailService       = emailService;
     _hubsService        = hubsService;
 }