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