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

Delete() public method

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