public async Task DeleteAsync(Supplier entity, bool realDelete = false) { var cancelToken = new CancellationTokenSource(); await _supplierDal.DeleteAsync(entity, cancelToken.Token, realDelete); }
public IResult DeleteAsync(Supplier supplier) { _supplierDal.DeleteAsync(supplier); return(new SuccessResult(SupplierMessages.Deleted)); }