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

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