public OrderDto Create(OrderDto inputOrder) { IOrder order = _ordersManager.Create(ObjectMapper.Map <Order>(inputOrder), ObjectMapper.Map <List <IGood> >(inputOrder.Goods)); return(ObjectMapper.Map <OrderDto>(order)); }