public async Task Add(Part part) { _logger.LogInformation($"Attempting to save new part Id:{part.Id} Manufacturer's #:{part.MfrsPartNumber}."); await _applicationContext.BeginTransaction(); await _applicationContext.AddAsync(part); await _applicationContext.Commit(); _logger.LogInformation($"Successfully saved new part Id:{part.Id} Manufacturer's #:{part.MfrsPartNumber}."); }