protected static ICastRepsitory GetRepository(WSConnection connection, bool dropCookie = false) { CastRepository repo = dropCookie ? new CastRepository(connection, null) : new CastRepository(connection, Client); Client = repo.GetClient(); return(repo); }
/// <summary> /// /// </summary> protected ICastRepsitory GetRepository() { CastRepository repo = new CastRepository(Connection, Client); Client = repo.GetClient(); return(repo); }