My homepage passes its viewmodel as follows
public HomePage(myHomePageViewModel hpViewModel) // { var form = new myHomePageViewModel();