Blog.Services.Helpers.Rest.AddressRestResource.Delete C# (CSharp) Method

Delete() public method

public Delete ( int addressId, string authenticationToken ) : bool
addressId int
authenticationToken string
return bool
        public bool Delete(int addressId, string authenticationToken)
        {
            using (var svc = new HttpClientHelper())
            {
                var result = JsonHelper.DeserializeJson<bool>(svc.Delete(Constants.BlogRestUrl, string.Format("address/{0}", addressId), authenticationToken));
                return result;
            }
        }
    }