示例#1
0
 public async Task AddAsync(RefreshToken refreshToken)
 => await _repository.AddAsync(refreshToken);
示例#2
0
 public async Task AddAsync(Cart cart)
 => await _repository.AddAsync(cart);
示例#3
0
 public async Task AddAsync(User user)
 => await _repository.AddAsync(user);
示例#4
0
 public async Task InsertAsync(TDocument entity, CancellationToken token = default)
 {
     await _mongoDb.AddAsync <TDocument, TKey>(entity, _partitionKey, token);
 }
        public async Task <LatestLocation> Add(LatestLocation latestLocation)
        {
            var result = await _latestLocationRepository.AddAsync(latestLocation);

            return(result);
        }
示例#6
0
        public async Task <string> Add(LocationHistory employeeLocations)
        {
            var t = await _locationMongoDbRepository.AddAsync(employeeLocations);

            return(t.Id);
        }
示例#7
0
 protected async Task RepositoryAddsOne(TDocument document) =>
 await _repository.AddAsync <TDocument, TKey>(document);
示例#8
0
 public async Task AddAsync(Product product)
 => await _repository.AddAsync(product);
示例#9
0
 public async Task AddAsync(Order order)
     => await _repository.AddAsync(order);
示例#10
0
 public async Task AddAsync(Customer customer)
 => await _repository.AddAsync(customer);