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

            RentContract contract = objects.FindRentContract(id);

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

            return(View(contract));
        }