コード例 #1
0
 public async Task UpdateAsync(Territory entity)
 {
     var cancelToken = new CancellationTokenSource();
     await _territoryDal.UpdateAsync(entity, cancelToken.Token);
 }
コード例 #2
0
 public IResult UpdateAsync(Territory territory)
 {
     _territoryDal.UpdateAsync(territory);
     return(new SuccessResult(TerritoryMessages.Updated));
 }