public ViewResult AvsView(ActionExecutingContext context) { AgeVerificationViewModel model = new AgeVerificationViewModel(MobiContext.Current); model.OriginalUrl = context.HttpContext.Request.RawUrl; // TODO: check if this is correct ViewResult viewResult = new ViewResult(); viewResult.ViewName = "AgeVerification"; viewResult.ViewData.Model = model; return(viewResult); }
public AgeVerificationPage() { InitializeComponent(); Shell.SetTabBarIsVisible(this, false); BindingContext = new AgeVerificationViewModel(); }