async void GenerateFormPageTest(object sender, EventArgs e) { var formGenerator = new FormGenerator(); var formPage = formGenerator.GeneratePage(ModelTest); formPage.Title = "FORM TEST"; await Navigation.PushAsync(formPage); }
async void GenerateFormPage(object sender, EventArgs e) { var formGenerator = new FormGenerator(); var formPage = formGenerator.GeneratePage(EmployeeModel, "Submit Form"); formPage.Title = "Employee Form"; await Navigation.PushAsync(formPage); }