public bool Delete(int id) { if (string.IsNullOrWhiteSpace(id.ToString())) { return(status); } else { var result = _approveRepository.Delete(id); return(result); } }
public async Task <IActionResult> DeleteApproval(string id) { return(Ok(await _repository.Delete(id))); }