public ActionResult Index() { var model = new ViewModels.ContactUs(); var contacts = Contacts.GetContacts(); model.Contacts = contacts; this.Session[TokenKey] = model.Token; return this.View(this.GetRazorView<AreaRegistration>("ContactUs/Index.cshtml"), model); }
public ActionResult Index() { var model = new ViewModels.ContactUs(); var contacts = Contacts.GetContacts(); model.Contacts = contacts; this.Session[TokenKey] = model.Token; return(this.View(this.GetRazorView <AreaRegistration>("ContactUs/Index.cshtml"), model)); }