Beispiel #1
0
        public async Task AddComputer(ComputerInformation computerInformation)
        {
            var log = new Log()
            {
                Name = "AddComputer",
                Time = DateTime.Now
            };

            await _collection.InsertOneAsync(log);

            await _repository.AddComputer(computerInformation);
        }