public async Task DeleteAsync(Shipper entity, bool realDelete = false)
 {
     var cancelToken = new CancellationTokenSource();
     await _shipperDal.DeleteAsync(entity, cancelToken.Token, realDelete);
 }
예제 #2
0
 public IResult DeleteAsync(Shipper shipper)
 {
     _shipperDal.DeleteAsync(shipper);
     return(new SuccessResult(ShipperMessages.Deleted));
 }