示例#1
0
        public ActionResult Results()
        {
            Listings newListings = new Listings();

            newListings.SetTitle(Request.Form["job-title"]);
            newListings.SetDescription(Request.Form["job-description"]);
            newListings.SetContactName(Request.Form["job-contact-name"]);
            newListings.SetContactEmail(Request.Form["job-contact-email"]);
            newListings.SetContactPhone(Request.Form["job-contact-phone"]);
            newListings.UpdateList();
            return(View(newListings.GetList()));
        }