Custom ViewModel with MVC 2 Strongly Typed HTML Helpers return null object on Create ?
- by Barbaros Alp
Hi,
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.
public class CategoryFormViewModel
{
public CategoryFormViewModel(Category category, string actionTitle)
{
Category = category;
ActionTitle = actionTitle;
}
…