public ActionResult FootableEditableExp(int page = 1) { var ctx = new FooData(); var model = new FootableEditableViewModelExp(); model.FootableRows = new List <FootableEditableDemoRowExp> { new FootableEditableDemoRowExp { JobseekerId = "111", Firstname = "Wanda", Surname = "Maximoff", Country = "0001", EPPStatus = "Approved 11/07/2014", PostCode = "5607" }, new FootableEditableDemoRowExp { JobseekerId = "222", Firstname = "Dane", Surname = "Whitman", Country = "0002", EPPStatus = "Approved 15/04/2014", PostCode = "5605" }, new FootableEditableDemoRowExp { JobseekerId = "333", Firstname = "Natalia", Surname = "Romanova", Country = "0001", EPPStatus = "Approved 4/06/2014", PostCode = "5641" } }; // Reference list of Countries for drop down list model.FootableRows_Countries = new List <Country> { new Country { Id = "0001", Name = "Australia" }, new Country { Id = "0002", Name = "New Zealand" }, new Country { Id = "0003", Name = "USA" } }; return(View(model)); }
public ActionResult FootableEditable(int page = 1) { var ctx = new FooData(); var model = new FootableEditableViewModelExp(); model.FootableRows = new List <FootableEditableDemoRowExp> { new FootableEditableDemoRowExp { JobseekerId = "111", Firstname = "Wanda", Surname = "Maximoff", EPPStatus = "Approved 11/07/2014", PostCode = "5607" }, new FootableEditableDemoRowExp { JobseekerId = "222", Firstname = "Dane", Surname = "Whitman", EPPStatus = "Approved 15/04/2014", PostCode = "5605" }, new FootableEditableDemoRowExp { JobseekerId = "333", Firstname = "Natalia", Surname = "Romanova", EPPStatus = "Approved 4/06/2014", PostCode = "5641" } }; return(View(model)); }