// GET: Payments/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            Payment rentPayment = objects.FindPayment(id);

            if (rentPayment == null)
            {
                return(HttpNotFound());
            }

            return(View(rentPayment));
        }