public static bool Inuse(string username) { PlayerRepo repo = new PlayerRepo(new PlayerSQLContext()); return(repo.InUse(username)); }