Exemplo n.º 1
0
 public MarcasController(IGenericRepositiory <Marca> marcaRepository)
 {
     _marcaRepository = marcaRepository;
 }
Exemplo n.º 2
0
 public ProductosController(IGenericRepositiory <Producto> productoRepository, IMapper mapper)
 {
     _productoRepository = productoRepository;
     _mapper             = mapper;
 }
Exemplo n.º 3
0
 public CategoriasController(IGenericRepositiory <Categoria> categoriaRepository)
 {
     _categoriaRepository = categoriaRepository;
 }