public FileService(ReservationDbContext context, IOptionsSnapshot <SiteSettings> siteSettings) { _context = context; _context.CheckArgumentIsNull(nameof(_context)); _siteSettings = siteSettings; _siteSettings.CheckArgumentIsNull(nameof(_siteSettings)); }
public UsersService(ISecurityService securityService, ReservationDbContext context) { _securityService = securityService; _securityService.CheckArgumentIsNull(nameof(_securityService)); _context = context; _context.CheckArgumentIsNull(nameof(_context)); }
public DbInitializerService( IServiceScopeFactory scopeFactory, ISecurityService securityService, ReservationDbContext context) { _scopeFactory = scopeFactory; _scopeFactory.CheckArgumentIsNull(nameof(_scopeFactory)); _securityService = securityService; _securityService.CheckArgumentIsNull(nameof(_securityService)); _context = context; _context.CheckArgumentIsNull(nameof(_context)); }
public TokenStoreService( ReservationDbContext uow, ISecurityService securityService, IRolesService rolesService, IOptionsSnapshot <BearerTokensOptions> configuration) { _uow = uow; _uow.CheckArgumentIsNull(nameof(_uow)); _securityService = securityService; _securityService.CheckArgumentIsNull(nameof(_securityService)); _rolesService = rolesService; _rolesService.CheckArgumentIsNull(nameof(rolesService)); _tokens = _uow.Set <UserToken>(); _configuration = configuration; _configuration.CheckArgumentIsNull(nameof(configuration)); }
public GroupAuthenticationService(ReservationDbContext context) { _context = context; _context.CheckArgumentIsNull(nameof(_context)); }
public ProvinceService(ReservationDbContext context) { _context = context; _context.CheckArgumentIsNull(nameof(_context)); }
public AccommodationService(ReservationDbContext context) { _context = context; _context.CheckArgumentIsNull(nameof(_context)); }
public ReportService(ReservationDbContext context, IMemoryCache memoryCache) { _context = context; _context.CheckArgumentIsNull(nameof(_context)); _cache = memoryCache; }