public List<Media> GetByUser(int userId) { using (var svc = new ServiceProxyHelper<IMediaService>("MediaService")) { return svc.Proxy.GetByUser(userId); } }