public HomeController(ILogger <HomeController> logger,
                       IProdutoStore produtoStore,
                       ICategoriaStore categoriaStore,
                       IMarcaStore marcaStore,
                       ICarrinhoService carrinhoService,
                       ICarrinhoStore carrinhoStore)
 {
     _logger          = logger;
     _produtoStore    = produtoStore;
     _categoriaStore  = categoriaStore;
     _marcaStore      = marcaStore;
     _carrinhoService = carrinhoService;
     _carrinhoStore   = carrinhoStore;
 }
 public CatalogoController(
     IProdutoStore produtoStore,
     IGeoposicaoService geoposicaoService,
     IFreteService freteService,
     IProdutoService produtoService,
     ICategoriaStore categoriaStore,
     IMarcaStore marcaStore)
 {
     _produtoStore      = produtoStore;
     _geoposicaoService = geoposicaoService;
     _freteService      = freteService;
     _produtoService    = produtoService;
     _categoriaStore    = categoriaStore;
     _marcaStore        = marcaStore;
 }
Ejemplo n.º 3
0
 public CatalogoController(
     IProdutoStore produtoStore,
     IGeoposicaoService geoposicaoService,
     IFreteService freteService,
     IProdutoService produtoService,
     ICategoriaStore categoriaStore,
     IMarcaStore marcaStore,
     IHttpContextAccessor httpContextAccessor
     )
 {
     _produtoStore        = produtoStore;
     _geoposicaoService   = geoposicaoService;
     _freteService        = freteService;
     _produtoService      = produtoService;
     _categoriaStore      = categoriaStore;
     _marcaStore          = marcaStore;
     _httpContextAccessor = httpContextAccessor;
 }
 public CategoriasController(ICategoriaStore categoriaStore, IProdutoStore produtoStore, IMarcaStore marcaStore)
 {
     _categoriaStore = categoriaStore;
     _produtoStore   = produtoStore;
     _marcaStore     = marcaStore;
 }