public ActionResult Create(MarcaViewModel marca) { if (ModelState.IsValid) { try { var marcaDominio = Mapper.Map <MarcaViewModel, Marca>(marca); _marcaAppService.Agregar(marcaDominio); return(RedirectToAction("Index")); } catch (Exception ex) { return(View(ex.Message)); } } return(View(marca)); }