public AdminController(IEFProductManager repo, UserManager <IdentityUser> userManager, IConfiguration configuration, IFileManager fileManager, IHostingEnvironment env, IMapper mapper, IHttpContextAccessor httpContextAccessor, IHubContext <ChatHub> hubContext) : base(httpContextAccessor) { this.repo = repo; this.userManager = userManager; this.configuration = configuration; this.fileManager = fileManager; this.env = env; this.mapper = mapper; this.hubContext = hubContext; uploadsFile = configuration.GetSection("FileSystem").GetSection("Uploads").Value; tempFile = configuration.GetSection("FileSystem").GetSection("Temp").Value; }
public ProductController(IProductRepository productRepository, IEFProductManager eFProductManager, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { this.productRepository = productRepository; this.eFProductManager = eFProductManager; }
public ProductsController(IHttpContextAccessor httpContextAccessor, IEFProductManager eFProductManager, IMapper mapper) : base(httpContextAccessor) { this.eFProductManager = eFProductManager; this.mapper = mapper; }
public NavigationMenuViewComponent(IEFProductManager eFProductManager) { this.eFProductManager = eFProductManager; }
public CartController(IEFProductManager _repository, Cart _cart, IHttpContextAccessor httpContextAccessor) : base(httpContextAccessor) { repository = _repository; cart = _cart; }