private async Task <bool> SignUpButtonPressed(UITextField userNameField, UITextField passwordField) { //Creating User Procedure Goes here UserAuthService authService = new UserAuthService(new UserData(userNameField.Text, passwordField.Text)); bool isSuccess = await authService.SignUp(); if (!isSuccess) { return(false); } DismissViewController(true, null); return(true); }