public async Task UpdateAsync(Territory entity) { var cancelToken = new CancellationTokenSource(); await _territoryDal.UpdateAsync(entity, cancelToken.Token); }
public IResult UpdateAsync(Territory territory) { _territoryDal.UpdateAsync(territory); return(new SuccessResult(TerritoryMessages.Updated)); }