예제 #1
0
 public VideosController(MediaDbContext context, ProgenyDbContext progenyDbContext, IDataService dataService, AzureNotifications azureNotifications)
 {
     _context            = context;
     _progenyDbContext   = progenyDbContext;
     _dataService        = dataService;
     _azureNotifications = azureNotifications;
 }
예제 #2
0
 public AzureNotifications(ProgenyDbContext context, IConfiguration configuration, IDataService dataService)
 {
     Hub = NotificationHubClient.CreateClientFromConnectionString(configuration["NotificationHubConnection"],
                                                                  "kinaunanotifications");
     _dataService = dataService;
     _context     = context;
 }
예제 #3
0
 public AccessController(IDataService dataService, ImageStore imageStore, ProgenyDbContext context, AzureNotifications azureNotifications)
 {
     _dataService        = dataService;
     _imageStore         = imageStore;
     _context            = context;
     _azureNotifications = azureNotifications;
 }
예제 #4
0
 public DataService(ProgenyDbContext context, IDistributedCache cache)
 {
     _context = context;
     _cache   = cache;
     _cacheOptions.SetAbsoluteExpiration(new System.TimeSpan(0, 5, 0));          // Expire after 5 minutes.
     _cacheOptionsSliding.SetSlidingExpiration(new System.TimeSpan(7, 0, 0, 0)); // Expire after a week.
 }
예제 #5
0
 public ContactsController(ProgenyDbContext context, ImageStore imageStore, IDataService dataService, AzureNotifications azureNotifications)
 {
     _context            = context;
     _imageStore         = imageStore;
     _dataService        = dataService;
     _azureNotifications = azureNotifications;
 }
예제 #6
0
 public UserInfoController(ProgenyDbContext context, IDataService dataService, ApplicationDbContext appDbContext, ImageStore imageStore)
 {
     _context      = context;
     _dataService  = dataService;
     _appDbContext = appDbContext;
     _imageStore   = imageStore;
 }
예제 #7
0
 public AccountController(
     ILoginService <ApplicationUser> loginService,
     IIdentityServerInteractionService interaction,
     ILogger <AccountController> logger,
     IEmailSender emailSender,
     UserManager <ApplicationUser> userManager,
     SignInManager <ApplicationUser> signInManager,
     ApplicationDbContext context,
     ProgenyDbContext progContext,
     IConfiguration configuration,
     IWebHostEnvironment env)
 {
     _loginService = loginService;
     _interaction  = interaction;
     //_clientStore = clientStore;
     _logger        = logger;
     _userManager   = userManager;
     _emailSender   = emailSender;
     _signInManager = signInManager;
     _context       = context;
     _progContext   = progContext;
     _configuration = configuration;
     _env           = env;
 }
예제 #8
0
 public VaccinationsController(ProgenyDbContext context, IDataService dataService, AzureNotifications azureNotifications)
 {
     _context            = context;
     _dataService        = dataService;
     _azureNotifications = azureNotifications;
 }
예제 #9
0
 public TimeLineController(ProgenyDbContext context, IDataService dataService)
 {
     _context     = context;
     _dataService = dataService;
 }
예제 #10
0
 public AddressesController(ProgenyDbContext context, IDataService dataService)
 {
     _context     = context;
     _dataService = dataService;
 }
예제 #11
0
 public NotificationsController(AzureNotifications azureNotifications, ProgenyDbContext context, ImageStore imageStore)
 {
     _azureNotifications = azureNotifications;
     _context            = context;
     _imageStore         = imageStore;
 }
예제 #12
0
 public CalendarController(IDataService dataService, ProgenyDbContext context, AzureNotifications azureNotifications)
 {
     _context            = context;
     _dataService        = dataService;
     _azureNotifications = azureNotifications;
 }
예제 #13
0
 public ProgenyController(ProgenyDbContext context, ImageStore imageStore, IDataService dataService)
 {
     _context     = context;
     _imageStore  = imageStore;
     _dataService = dataService;
 }