public ViewResult RequestForm(Listing listing) { // TODO: store response from guest if (ModelState.IsValid) { Repository.AddListing(listing); return(View("Confirmation")); } else { // there is a validation error return(View()); } // Repository.AddListing(listing); // return View("Confirmation"); // return View("AllEquipment"); // return View("Thanks", listing); // Console.WriteLine(listing.Email); // Console.ReadKey(true); // // Debug.WriteLine(listing.Email); // return View(); }