Пример #1
0
        public async Task <IActionResult> AddRangeAsync(IEnumerable <OrderItemDto> orderItemDtos)
        {
            var ordeItemRange = await _orderItemService.AddRangeAsync(_mapper.Map <IEnumerable <OrderItem> >(orderItemDtos));

            return(Ok(_mapper.Map <IEnumerable <OrderItemDto> >(ordeItemRange)));
        }