public ActionResult Edit(LastClientRentViewModel model)
 {
     if (ModelState.IsValid)
     {
         GamesDbService.EditLastClientRent(db, model);
         return(RedirectToAction("Index"));
     }
     return(View(db.juegos));
 }
        public ActionResult Search(GameFilterModel model)
        {
            if (!ModelState.IsValid)
            {
                return(RedirectToAction("Index"));
            }

            return(View(GamesDbService.LastClientRent(db, model.cedula)));
        }