Esempio n. 1
0
        // Add new User
        public async Task AddUserAsync(string username)
        {
            User user = new User();

            user.UserName = username;
            await _context.AddAsync(user);

            await _context.SaveChangesAsync();
        }