public ProductosController(
            UserManager <IdentityUser> userManager,
            SignInManager <IdentityUser> signInManager,
            MessagesService messagesService,
            IProductosService productosService,
            IVisitasService VisitasService,
            ICategoriasService categoriasService,
            IProductoCategoriasService productoCategoriasService,
            IVendedoresService vendedoresService,
            IUsuariosService usuariosService,
            IProductosVendedoresService productosVendedoresService,
            IReviewsService reviewsService,
            IHelperService helperService,
            IOpcionesProductosService opcionesProductosService,
            IImagenesProductosService imagenesProductosService,
            IMemoryCache memoryCache)

        {
            _userManager                = userManager;
            _signInManager              = signInManager;
            _messagesService            = messagesService;
            _productosService           = productosService;
            _VisitasService             = VisitasService;
            _categoriasService          = categoriasService;
            _productoCategoriasService  = productoCategoriasService;
            _vendedoresService          = vendedoresService;
            _usuariosService            = usuariosService;
            _productosVendedoresService = productosVendedoresService;
            _reviewsService             = reviewsService;
            _helperService              = helperService;
            _opcionesProductosService   = opcionesProductosService;
            _imagenesProductosService   = imagenesProductosService;
            _memoryCache                = memoryCache;
        }
Exemple #2
0
 public APICOPController(
     ApplicationDbContext context,
     ICategoriasService categoriasService,
     IProductosService productosService,
     IProductoCategoriasService productoCategoriasService,
     IMemoryCache memoryCache)
 {
     _context                   = context;
     _categoriasService         = categoriasService;
     _productosService          = productosService;
     _productoCategoriasService = productoCategoriasService;
     _memoryCache               = memoryCache;
 }
Exemple #3
0
 public HelperService(ApplicationDbContext context,
                      IConfiguration configuration,
                      IMemoryCache memoryCache,
                      IProductosService productosService,
                      ICategoriasService categoriasService,
                      IProductoCategoriasService productoCategoriasService)
 {
     _context                   = context;
     _configuration             = configuration;
     _memoryCache               = memoryCache;
     _productosService          = productosService;
     _categoriasService         = categoriasService;
     _productoCategoriasService = productoCategoriasService;
 }
 public ProductoCategoriasController(IProductoCategoriasService productoCategoriasService, ICategoriasService categoriasService, IProductosService productosService)
 {
     _productoCategoriasService = productoCategoriasService;
     _categoriasService         = categoriasService;
     _productosService          = productosService;
 }