Exemplo n.º 1
0
        public virtual IEnumerable <Post> GetPosts(PostFilter filter)
        {
            var paramFilter = Mapper.Map <PostFilterProxy>(filter);

            return(this._proxy.GetPosts(
                       this._blogId,
                       this._creds.UserName,
                       this._creds.Password,
                       paramFilter
                       ));
        }
        public virtual IEnumerable<Post> GetPosts(PostFilter filter)
        {
            var paramFilter = Mapper.Map<PostFilterProxy>(filter);

            return this._proxy.GetPosts(
                    this._blogId,
                    this._creds.UserName,
                    this._creds.Password,
                    paramFilter
                );
        }