public LotteriesController(ApplicationDbContext context, IUserHelper userHelper, ICurrentUserFactory currentUser, IServiceProvider serviceProvider, LotterySaleRepository lotterySaleRepository, IHubContext <NotificationHub> notificationHubContext) : base(context, userHelper, currentUser, serviceProvider) { _notificationHubContext = notificationHubContext; _repository = lotterySaleRepository; }
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; }