public async Task AddAsync(RefreshToken refreshToken) => await _repository.AddAsync(refreshToken);
public async Task AddAsync(Cart cart) => await _repository.AddAsync(cart);
public async Task AddAsync(User user) => await _repository.AddAsync(user);
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); }
public async Task <string> Add(LocationHistory employeeLocations) { var t = await _locationMongoDbRepository.AddAsync(employeeLocations); return(t.Id); }
protected async Task RepositoryAddsOne(TDocument document) => await _repository.AddAsync <TDocument, TKey>(document);
public async Task AddAsync(Product product) => await _repository.AddAsync(product);
public async Task AddAsync(Order order) => await _repository.AddAsync(order);
public async Task AddAsync(Customer customer) => await _repository.AddAsync(customer);