Example #1
0
        public ActionResult Edit(int id, Anuncio collection)
        {
            try
            {
                // TODO: Add update logic here

                return RedirectToAction("Index");
            }
            catch
            {
                return View();
            }
        }
Example #2
0
        public ActionResult Create(Anuncio anuncio, AnuncioPerfil anuncioPerfil)
        {
            try
            {

                // TODO: Add insert logic here
                return RedirectToAction("Index", "Home");
            }
            catch
            {
                return View();
            }
        }