public IActionResult PracticeAspForList() { var model = new PracticeAspForListViewModel() { Employees = new System.Collections.Generic.List <Employee>() { new Employee() { Id = Guid.NewGuid(), Name = "Emp 1", Contract = Contract.B2B }, new Employee() { Id = Guid.NewGuid(), Name = "Emp 2", Contract = Contract.Intern } } }; return(View(model)); }
public IActionResult PracticeAspForList(PracticeAspForListViewModel model) { return(View()); }