public async Task DeleteAsync( [FromRoute] int id, CancellationToken ct ) { await _internamentoServices.DeleteAsync(id, ct); }
public async Task DeleteTestAsync() { try { await business.DeleteAsync( 1, CancellationToken.None ); } catch { Assert.IsTrue(false); } finally { Assert.IsTrue(true); } }