public async Task <ActionResult <List <Marca> > > GetMarcasAll()
        {
            var marcas = await _marcaRepository.GetAllAsync();

            return(Ok(marcas));
        }
        public async Task <ActionResult <List <Categoria> > > GetCategoriasAll()
        {
            var categorias = await _categoriaRepository.GetAllAsync();

            return(Ok(categorias));
        }