public async Task <ActionResult> Delete(int id) { try { await _procedureRepository.DeleteAsync(id); } catch (KeyNotFoundException) { return(NotFound()); } return(Ok()); }
public async Task <ActionResult> Delete(int id) { try { await _procedureRepository.DeleteAsync(id); } catch (KeyNotFoundException) { return(NotFound()); } return(Ok()); }