// Add new User public async Task AddUserAsync(string username) { User user = new User(); user.UserName = username; await _context.AddAsync(user); await _context.SaveChangesAsync(); }
// Add new User public async Task AddUserAsync(string username) { User user = new User(); user.UserName = username; await _context.AddAsync(user); await _context.SaveChangesAsync(); }