Example #1
0
        private static bool UserExists(string username)
        {
            DbContext context = DataController.CreateDbContext();

            return(context.Users.Any(u => u.ID == username));
        }