예제 #1
0
 public OwnersController(ApplicationDbContext context, IUserHelper userHelper,
                         ICurrentUserFactory currentUser, IRoleManager roleManager) : base(context, userHelper, currentUser)
 {
     _roleManager = roleManager;
     _userHelper  = userHelper;
     recordHelper = new RecordsHelper(context);
 }
예제 #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;
 }
 public PeriodicitiesController(ApplicationDbContext context, IUserHelper userHelper,
                                ICurrentUserFactory currentUser, IRoleManager roleManager, IGenericSelectList genericSelectList) : base(context, userHelper, currentUser, genericSelectList)
 {
     _roleManager = roleManager;
     recordHelper = new RecordsHelper(context);
 }