public ActionResult RequestApp(PropertyRequestAppInputModel input)
        {
            if (ModelState.IsValid)
            {
                var status = this.propertyAdapter.SendUserResponse(User.Identity.Name, input.LeadId, input.Message);

                if (status.StatusCode == 200)
                {
                    return View("RequestAppSent");
                }

                HandleErrors(status);
            }

            var lead = this.propertyAdapter.GetUserInterest(User.Identity.Name, input.LeadId);

            if (lead.StatusCode != 200)
                throw new HttpException(404, "Not Found");

            PropertyRequestAppModel model = new PropertyRequestAppModel(lead.Result);
            model.Input = input;
            return View(model);
        }
        public ActionResult RequestApp(int id)
        {
            var status = this.propertyAdapter.GetUserInterest(User.Identity.Name, id);

            if (status.StatusCode != 200)
                throw new HttpException(404, "Not Found");

            PropertyRequestAppModel model = new PropertyRequestAppModel(status.Result);
            return View(model);
        }