public void Delete(int id) { try { var response = _approval.Delete(id); Console.WriteLine(response); } catch (Exception ex) { Assert.True(false, ex.Message); } }
public IActionResult Delete(int id) { return(Ok(_approval.Delete(id))); }