public List<Post> GetPostsByUser(int userId) { using (var svc = new ServiceProxyHelper<IPostsService>("PostsService")) { return svc.Proxy.GetPostsByUser(userId); } }