public AccessManagerService(ISecurLibService securLib, IConfiguration configuration, IAutorizationManagerService autorizationManagerService, HellsGateContext context) { _configuration = configuration ?? throw new ArgumentNullException(nameof(configuration)); _securLib = securLib ?? throw new ArgumentNullException(nameof(securLib)); _autorizationManagerService = autorizationManagerService ?? throw new ArgumentNullException(nameof(autorizationManagerService)); _context = context ?? throw new ArgumentNullException(nameof(context)); }
public PersonService(ISecurLibService securLib, IMenuService menuService, IPersonToPersonReadModelConverter personToPersonReadModelConverter, IPersonCreateModelToPersonModelConverter personCreateModelToPersonModelConverter, HellsGateContext context) { _personToPersonReadModelConverter = personToPersonReadModelConverter ?? throw new ArgumentNullException(nameof(personToPersonReadModelConverter)); _personCreateModelToPersonModelConverter = personCreateModelToPersonModelConverter ?? throw new ArgumentNullException(nameof(personCreateModelToPersonModelConverter)); _context = context ?? throw new ArgumentNullException(nameof(context)); _securLib = securLib ?? throw new ArgumentNullException(nameof(securLib)); _menuService = menuService ?? throw new ArgumentNullException(nameof(menuService)); }
public MenuService(HellsGateContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public CardService(ISecurLibService securLib, HellsGateContext context, ICardCreateModelToCardConverter cardCreateModelToCardConverter) { _securLib = securLib ?? throw new ArgumentNullException(nameof(securLib)); _context = context ?? throw new ArgumentNullException(nameof(context)); _cardCreateModelToCardConverter = cardCreateModelToCardConverter ?? throw new ArgumentNullException(nameof(cardCreateModelToCardConverter)); }
public NodeService(HellsGateContext context, IOptions <AppSettings> appSettings) { _context = context ?? throw new ArgumentNullException(nameof(context)); _appSettings = appSettings.Value ?? throw new ArgumentNullException(nameof(appSettings));; }
public AutorizationManagerService(ISecurLibService securLib, HellsGateContext context) { _securLib = securLib ?? throw new ArgumentNullException(nameof(securLib)); _context = context ?? throw new ArgumentNullException(nameof(context)); }