Beispiel #1
0
 public async Task AddAsync(ShoppingItem shoppingItem)
 {
     _logger.LogInformation("Calling AddAsync method in ShoppingListAppService with shoppingItem: {@0}", shoppingItem);
     await _shoppingListRepository.AddAsync(_mapper.Map <Infrastructure.Models.ShoppingItem>(shoppingItem));
 }