I am having a trouble while trying to create an entity with a custom view modeled create form. Below is my custom view model for Category Creation form.
publ
Make a default constructor for your viewmodel and initialize the Category there
public CategoryFormViewModel() { Category = new Category() }
And at your controller action receive the viewmodel
public ActionResult ActionName(CategoryFormViewModel model) { //here you can access model.Category.Title }