public async Task PushPageModel <T, TPage>(object data, bool modal = false, bool animate = true) where T : ViewModelFoundation.BaseViewModel where TPage : Page { T pageModel = IOCFoundation.Ioc.Container.Resolve <T>(); TPage page = IOCFoundation.Ioc.Container.Resolve <TPage>(); ViewModelResolver.BindingViewModel(data, page, pageModel); await PushPageModelWithPage(page, pageModel, data, modal, animate); }