public async Task Http_404_shold_throw_EntityNotFoundException() { var notExistingInvoiceId = Guid.Parse("85733EDC-958B-4C80-9E49-8942B85D0156"); await Assert.ThrowsAsync <EntityNotFoundException>(async() => { await earchiceInvoiceClient.Get(notExistingInvoiceId); }); }
[HttpGet("{id}")] //B980FFE7-A6F0-4072-AACE-119CCB40A483 public async Task <ActionResult <OutboxInvoiceGetModel> > Get(Guid id) { return(await earchiveClient.Get(id)); }