public ActionResult SiteContact(SiteConfigViewModel model) { if (ModelState.IsValid) { new SiteContent(Path.Combine(Server.MapPath("~/App_Data"), "config.xml")).SetContent( model.Company, model.Address, model.Phone, model.Email ); return RedirectToAction("Index"); } return View(model); }