Esempio n. 1
0
        public SelectList SelectSubcategorias()
        {
            ProdutoSubcategoriaService Subcategorias = new ProdutoSubcategoriaService();

            return(new SelectList(Subcategorias.GetAll(), "SubcategoriaId", "Nome"));
        }
Esempio n. 2
0
 public SubcategoriasController()
 {
     AutoMapperHelper.InitializeMapper();
     Service = new ProdutoSubcategoriaService();
 }