public loginManager(IHttpContextAccessor httpContextAccessor, IRequestManger requestManger, IDataProtectionProvider dataProtectionProvider, IConfiguration configuration) { _httpContextAccessor = httpContextAccessor ?? throw new ArgumentNullException(nameof(_httpContextAccessor)); _requestManger = requestManger ?? throw new ArgumentNullException(nameof(_requestManger)); _dataProtectionProvider = dataProtectionProvider ?? throw new ArgumentNullException(nameof(_dataProtectionProvider)); _configuration = configuration ?? throw new ArgumentNullException(nameof(_configuration)); }
public ItemManager(IItemHandler <ItemModel> item, IRequestManger requestManger) { _item = item ?? throw new ArgumentNullException(nameof(_item)); _requestManger = requestManger ?? throw new ArgumentNullException(nameof(_requestManger)); }
public PurchaseHandler(IRequestManger requestManger) { _requestManger = requestManger ?? throw new ArgumentNullException(nameof(_requestManger)); }