Example #1
0
 public ShowService(ApplicationDbContext context, IServiceProvider serviceProvider,
                    HttpContextService httpContextService)
 {
     _context            = context;
     _serviceProvider    = serviceProvider;
     _httpContextService = httpContextService;
 }
 public BookingService(ApplicationDbContext context, HttpContextService httpContextService,
                       IServiceProvider serviceProvider)
 {
     _context            = context;
     _httpContextService = httpContextService;
     _serviceProvider    = serviceProvider;
 }
Example #3
0
 public UsersService(ApplicationDbContext context, UserManager <User> userManager,
                     HttpContextService httpContext, EmailSender emailSender
                     )
 {
     _context     = context;
     _userManager = userManager;
     _httpContext = httpContext;
     _emailSender = emailSender;
 }
Example #4
0
 public EmailSender(IOptions <EmailSenderOptions> options, HttpContextService httpContextService, UserManager <User> userManager)
 {
     _options            = options.Value;
     _httpContextService = httpContextService;
     _userManager        = userManager;
 }