示例#1
0
        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);
        }
示例#2
0
        /// <summary>
        ///
        /// </summary>
        protected ICastRepsitory GetRepository()
        {
            CastRepository repo = new CastRepository(Connection, Client);

            Client = repo.GetClient();
            return(repo);
        }