public ActionResult DeleteConfirmed(int id)
        {
            Recomentacion recomentacion = db.oRecomendacion.Find(id);

            db.oRecomendacion.Remove(recomentacion);
            db.SaveChanges();
            return(RedirectToAction("Index"));
        }
        //
        // GET: /CRecomentacion/Delete/5

        public ActionResult Delete(int id = 0)
        {
            Recomentacion recomentacion = db.oRecomendacion.Find(id);

            if (recomentacion == null)
            {
                return(HttpNotFound());
            }
            return(View(recomentacion));
        }
 public ActionResult Edit(Recomentacion recomentacion)
 {
     if (ModelState.IsValid)
     {
         db.Entry(recomentacion).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(recomentacion));
 }
        public ActionResult Create(Recomentacion recomentacion)
        {
            if (ModelState.IsValid)
            {
                db.oRecomendacion.Add(recomentacion);
                db.SaveChanges();
                return(RedirectToAction("Index"));
            }

            return(View(recomentacion));
        }