public ActionResult Delete() { ViewBag.Message = "Blob."; _blobService.Delete(); return(View("Blob")); }
public async Task Delete_SmallBlob() { var smallBlob = GetSmallBlob(); var smallId = await _service.Put(smallBlob); var smallDelete = await _service.Delete(smallId); Assert.Equal(1, smallDelete); var smallBlobGet = await _service.Get(smallId); Assert.True(smallBlobGet == null); var noDelete = await _service.Delete(Guid.NewGuid()); Assert.Equal(0, noDelete); }