public async Task <int> RegisterUser(RegisterForm registerForm) { await _appDbContext.Users.AddAsync(registerForm.CreateUser()); return(await _appDbContext.SaveChangesAsync()); }