I want some suggestion on how to do the following.

In my ASP.Net MVC application I have a view which can be accessed unauthorized and this view have a registration form now the requirement is that there you can register for multiple people.

So for example if the event can have two persons registered so I need to show two registration form and then the detaisl should be filled and press submit then this whole data should be validated and passed to Controller.

I do not understand how to do this.

Is it possible to have a ViewModel like:

public class RegViewModelCollection{
  public List<RegisterViewModel> Collection{get;set}
}

?

Please suggest. Thanks

Related posts

Recent Viewed