Ejemplo n.º 1
0
        public ActionResult Edit(ArtShop.Entities.Model.Artist artist)
        {
            artistProcess.EditarArtista(artist);
            var artistas = artistProcess.ListarTodosLosArtistas();

            return(View("Index", artistas));
        }
Ejemplo n.º 2
0
        public ActionResult Add(ArtShop.Entities.Model.Artist artist)
        {
            artist.CreatedOn = DateTime.Now;
            artist.CreatedBy = "emmanuel";
            artistProcess.AgregarArtista(artist);

            var artistas = artistProcess.ListarTodosLosArtistas();

            return(View("Index", artistas));
        }