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