public EmployeeInfoManager(ILogger <EmployeeInfoManager> logger, ICompanyInfoRepository companyRepository, IEmployeeInfoRepository employeeRepository) { Logger = logger ?? throw new ArgumentNullException(nameof(logger)); CompanyRepository = companyRepository ?? throw new ArgumentNullException(nameof(companyRepository)); EmployeeRepository = employeeRepository ?? throw new ArgumentNullException(nameof(employeeRepository)); }
public ContactUsPageController( ICurrencyRepository currencyRepository, ICompanyInfoRepository companyInfoRepository, ICategoryRepository categoryRepository, IBrandRepository brandRepository ) : base( new MainModel(), currencyRepository, companyInfoRepository, categoryRepository, brandRepository) { }
public MainModelFiller( ICurrencyRepository currencyRepository, ICompanyInfoRepository companyInfoRepository, ICategoryRepository categoryRepository, IBrandRepository brandRepository ) { this.currencyRepository = currencyRepository; this.companyInfoRepository = companyInfoRepository; this.categoryRepository = categoryRepository; this.brandRepository = brandRepository; }
public ProductPageController( ICurrencyRepository currencyRepository, ICompanyInfoRepository companyInfoRepository, ICategoryRepository categoryRepository, IBrandRepository brandRepository, IProductDetailRepository productDetailRepository) : base(new ProductDetailModel(), currencyRepository, companyInfoRepository, categoryRepository, brandRepository) { this.productDetailRepository = productDetailRepository; }
public FrontPageBannerPageController( ICurrencyRepository currencyRepository, ICompanyInfoRepository companyInfoRepository, ICategoryRepository categoryRepository, IBrandRepository brandRepository, IFrontPageBannerRepository frontPageBannerRepository) : base(new FrontPageBannerModel(), currencyRepository, companyInfoRepository, categoryRepository, brandRepository) { this.frontPageBannerRepository = frontPageBannerRepository; }
public RegisterController( ICurrencyRepository currencyRepository, ICompanyInfoRepository companyInfoRepository, ICategoryRepository categoryRepository, IBrandRepository brandRepository, IUserRepository userRepository) : base(new MainModel(), currencyRepository, companyInfoRepository, categoryRepository, brandRepository) { this.userRepository = userRepository; }
// GET: CategoryPage public CategoryPageController( ICurrencyRepository currencyRepository, ICompanyInfoRepository companyInfoRepository, ICategoryRepository categoryRepository, IBrandRepository brandRepository, ISubCategoryRepository subCategoryRepository) : base(new SubCategoryModel(), currencyRepository, companyInfoRepository, categoryRepository, brandRepository) { this.categoryRepository = categoryRepository; this.subCategoryRepository = subCategoryRepository; }
public InvoicesProvider( IInvoicedTasksRepository invoicedTasksRepository, IInvoicesRepository invoicesRepository, IUsersRepository usersRepository, IProjectRateRepository projectRateRepository, ICompanyInfoRepository companyInfoRepository, IProjectRepository projectRepository, ITFSTasksRepository tfsTasksRepository) { this._invoicedTasksRepository = invoicedTasksRepository; this._invoicesRepository = invoicesRepository; this._usersRepository = usersRepository; this._projectRateRepository = projectRateRepository; this._companyInfoRepository = companyInfoRepository; this._projectRepository = projectRepository; this._tfsTasksRepository = tfsTasksRepository; }
public CheckoutController( ICurrencyRepository currencyRepository, ICompanyInfoRepository companyInfoRepository, ICategoryRepository categoryRepository, IBrandRepository brandRepository, IShippingTypeRepository shippingTypeRepository, IOrderRepository orderRepository, IOrderDetailRepository orderDetailRepository, ICartRepository cartRepository) : base(new CheckoutModel(), currencyRepository, companyInfoRepository, categoryRepository, brandRepository) { this.shippingTypeRepository = shippingTypeRepository; this.orderRepository = orderRepository; this.orderDetailRepository = orderDetailRepository; this.cartRepository = cartRepository; }
public BaseController( IMainModel mainModel, ICurrencyRepository currencyRepository, ICompanyInfoRepository companyInfoRepository, ICategoryRepository categoryRepository, IBrandRepository brandRepository ) { this.currencyRepository = currencyRepository; this.companyInfoRepository = companyInfoRepository; this.categoryRepository = categoryRepository; this.mainModelFiller = new MainModelFiller(currencyRepository, companyInfoRepository, categoryRepository, brandRepository); mainModel.FillDatas(mainModelFiller.GetMainModel()); this.mainModel = mainModel; }
public CartController( ICurrencyRepository currencyRepository, ICompanyInfoRepository companyInfoRepository, ICategoryRepository categoryRepository, IBrandRepository brandRepository, ICartRepository cartRepository, ICartDetailRepository cartDetailRepository, IUserRepository userRepository, IProductDetailRepository productDetailRepository, IProductRepository productRepository) : base(new CartModel(), currencyRepository, companyInfoRepository, categoryRepository, brandRepository) { this.cartRepository = cartRepository; this.cartDetailRepository = cartDetailRepository; this.userRepository = userRepository; this.productDetailRepository = productDetailRepository; this.productRepository = productRepository; }
public HomeController(ICurrencyRepository currencyRepository, ICompanyInfoRepository companyInfoRepository, ICategoryRepository categoryRepository, IBrandRepository brandRepository, IFrontPageBannerRepository frontPageBannerRepository, //IImageRepository imageRepository, IFeaturedProductsRepository featuredProductsRepository, IProductRepository productRepository, IOrderRepository orderRepository) : base( new HomeModel(), currencyRepository, companyInfoRepository, categoryRepository, brandRepository) { this.currencyRepository = currencyRepository; this.frontPageBannerRepository = frontPageBannerRepository; //this.imageRepository = imageRepository; this.featuredProductsRepository = featuredProductsRepository; this.productRepository = productRepository; this.orderRepository = orderRepository; }
public CompanyInfoService(ICompanyInfoRepository _companyInfoRepository, ICompanyInfoValidator _companyInfoValidator) { _repository = _companyInfoRepository; _validator = _companyInfoValidator; }
public CompanyInfoController(ICompanyInfoRepository companyInfoRepository, IImageRepository imageRepository) { this.companyInfoRepository = companyInfoRepository; this.imageRepository = imageRepository; }
public CompanyInfoService(ICompanyInfoRepository repository) : base(repository) { }
public CompanyInfoManager(ILogger <CompanyInfoManager> logger, ICompanyInfoRepository repository) { Logger = logger ?? throw new ArgumentNullException(nameof(logger)); Repository = repository ?? throw new ArgumentNullException(nameof(repository)); }
public CompanyInfoProvider(ICompanyInfoRepository companyInfoRepository) { this._companyInfoRepository = companyInfoRepository; }