Пример #1
0
        // GET: Property
        public ActionResult Rent(int?id)
        {
            if (id.HasValue)
            {
                return(View(_rent.GetRentProperty(id.Value)));
            }

            return(View(new PropertyRentModel()));
        }