public async Task DeleteAsync(Territory entity, bool realDelete = false) { var cancelToken = new CancellationTokenSource(); await _territoryDal.DeleteAsync(entity, cancelToken.Token, realDelete); }
public IResult DeleteAsync(Territory territory) { _territoryDal.DeleteAsync(territory); return(new SuccessResult(TerritoryMessages.Deleted)); }