public async Task <ActionResult> SignUp(SignUpModal model) { try { var auth = new FirebaseAuthProvider(new FirebaseConfig(ApiKey)); var a = await auth.CreateUserWithEmailAndPasswordAsync(model.Email, model.Password, model.Name, true); ModelState.AddModelError(string.Empty, "Please Verify your email then login."); } catch (Exception ex) { ModelState.AddModelError(string.Empty, ex.Message); } return(View()); }
public bool SignUpUUser(SignUpModal user) { System.Threading.Thread.Sleep(2000); return(true); }