示例#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;
 }
 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;
 }