Beispiel #1
0
 public LotteriesController(ApplicationDbContext context, IUserHelper userHelper,
                            ICurrentUserFactory currentUser,
                            IServiceProvider serviceProvider, LotterySaleRepository lotterySaleRepository,
                            IHubContext <NotificationHub> notificationHubContext) : base(context, userHelper, currentUser, serviceProvider)
 {
     _notificationHubContext = notificationHubContext;
     _repository             = lotterySaleRepository;
 }
Beispiel #2
0
 public HomeController(ApplicationDbContext context, IUserHelper userHelper, ICurrentUserFactory currentUser,
                       IConfiguration configuration, LotterySaleRepository repository,
                       IHubContext <NotificationHub> notificationHubContext) : base(context, userHelper, currentUser)
 {
     //   _context = context;
     //  _contextFromClasic = contextFromClasic;
     _configuration          = configuration;
     _repository             = repository;
     recordHelper            = new RecordsHelper(context);
     _notificationHubContext = notificationHubContext;
 }