public SystemInformationService(ILogger <SystemInformationService> logger,
                                 IUserContextProvider userContextProvider,
                                 ISystemInformationRepository systemInformationRepository)
     : base(logger, userContextProvider)
 {
     _systemInformationRepository = Require.IsNotNull(systemInformationRepository,
                                                      nameof(systemInformationRepository));
 }
 public SystemInformationService(ILogger <SystemInformationService> logger,
                                 GRA.Abstract.IDateTimeProvider dateTimeProvider,
                                 IUserContextProvider userContextProvider,
                                 ISystemInformationRepository systemInformationRepository)
     : base(logger, dateTimeProvider, userContextProvider)
 {
     _systemInformationRepository = systemInformationRepository
                                    ?? throw new ArgumentNullException(nameof(systemInformationRepository));
 }
Beispiel #3
0
 public AuthController(ILogger <HomeController> logger, IAccountRepository accountRepository, IConfiguration configuration, IHttpContextAccessor httpContextAccessor, IForgetPasswordRepository forgetPasswordRepository, ISystemInformationRepository systemInformationRepository, IPhanQuyenRepository phanQuyenRepository, IQuyenRepository quyenRepository, IXacMinhRepository xacMinhRepository)
 {
     _logger                      = logger;
     _accountRepository           = accountRepository;
     Configuration                = configuration;
     _httpContextAccessor         = httpContextAccessor;
     _forgetPasswordRepository    = forgetPasswordRepository;
     _systemInformationRepository = systemInformationRepository;
     _phanQuyenRepository         = phanQuyenRepository;
     _quyenRepository             = quyenRepository;
     _xacMinhRepository           = xacMinhRepository;
 }
Beispiel #4
0
 public TaiKhoanController(IProductRepository productRepository, IShoppingCartRepository shoppingCart, IAccountRepository accountRepository, ICartRepository cartRepository, IProvinceRepository iProvinceRepository, IDictrictRepository iDictrictRepository, ITranhChapRepository iTranhChapRepository, IWebHostEnvironment webHostEnvironment, ISystemInformationRepository systemInformationRepository, ICategoryRepository iCategoryRepository, IXacMinhRepository xacMinhRepository, IDanhGiaRepository danhGiaRepository, IHttpContextAccessor httpContextAccessor, IQuyenRepository quyenRepository, IPhanQuyenRepository phanQuyenRepository)
 {
     _productRepository           = productRepository;
     _shoppingCart                = shoppingCart;
     _accountRepository           = accountRepository;
     _cartRepository              = cartRepository;
     _iProvinceRepository         = iProvinceRepository;
     _iDictrictRepository         = iDictrictRepository;
     _iTranhChapRepository        = iTranhChapRepository;
     _webHostEnvironment          = webHostEnvironment;
     _systemInformationRepository = systemInformationRepository;
     _iCategoryRepository         = iCategoryRepository;
     _xacMinhRepository           = xacMinhRepository;
     _danhGiaRepository           = danhGiaRepository;
     _httpContextAccessor         = httpContextAccessor;
     _quyenRepository             = quyenRepository;
     _phanQuyenRepository         = phanQuyenRepository;
 }
Beispiel #5
0
 public SystemInformationController(ISystemInformationRepository informationRepository)
 {
     this._informationRepository = informationRepository;
 }