Example #1
0
        /// <summary>
        /// Display the rents concerning the user connected
        /// </summary>
        /// <param name="id"></param>
        /// <returns>View</returns>
        public ActionResult Rents(int id)
        {
            RentDb dbRent = new RentDb();

            ModelState.Clear();
            return(View(dbRent.GetDistinctRentByCustomer(id)));
        }