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