Exemple #1
0
 public async Task AddAsync(RefreshToken refreshToken)
 => await _repository.AddAsync(refreshToken);
Exemple #2
0
 public async Task AddAsync(Cart cart)
 => await _repository.AddAsync(cart);
Exemple #3
0
 public async Task AddAsync(User user)
 => await _repository.AddAsync(user);
Exemple #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);
        }
Exemple #6
0
        public async Task <string> Add(LocationHistory employeeLocations)
        {
            var t = await _locationMongoDbRepository.AddAsync(employeeLocations);

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