public ActionResult New() { //MockDbContext mockDbContext = new MockDbContext(); var viewModel = new CustomerViewModel { Customer = new Customer(), MembershipTypes = _mockDbcontext.GetMembershipTypes() }; return(View("CustomerForm", viewModel)); }
public ActionResult New() { //MockDbContext mockDbContext = new MockDbContext(); var viewModel = new CustomerViewModel { Customer = new Customer(), MembershipTypes = _mockDbcontext.GetMembershipTypes() }; return(View("CustomerForm", viewModel)); }