/// <summary> /// Instantiates and transmits all data to the middle tier web service that will execute the workflow /// </summary> /// <returns></returns> public virtual async Task <bool> SendDeleteAsync(Uri fullUrl) { var returnValue = TypeExtension.DefaultBoolean; var request = new HttpRequestDelete <bool>(fullUrl); OnSendBegin(request); returnValue = await request.SendAsync(); OnSendEnd(request); return(returnValue); }
/// <summary> /// Instantiates and transmits all data to the middle tier web service that will execute the workflow /// </summary> /// <returns></returns> public virtual async Task <bool> SendDeleteAsync(Uri fullUrl) { var returnValue = TypeExtension.DefaultBoolean; var request = new HttpRequestDelete(fullUrl); OnSendBegin(request); await request.SendAsync(); OnSendEnd(request); return(request.Response.IsSuccessStatusCode); }