Blog.Services.Helpers.Wcf.AddressResource.GetByUser C# (CSharp) Method

GetByUser() public method

public GetByUser ( int userId ) : Address
userId int
return Blog.Common.Contracts.Address
        public Address GetByUser(int userId)
        {
            using (var svc = new ServiceProxyHelper<IAddressService>("AddressService"))
            {
                return svc.Proxy.GetByUser(userId);
            }
        }