예제 #1
0
        public async Task <int> RegisterUser(RegisterForm registerForm)
        {
            await _appDbContext.Users.AddAsync(registerForm.CreateUser());

            return(await _appDbContext.SaveChangesAsync());
        }