public OrderInput Get(string id) { var order = _orderRepository.Get(id); var lines = _lineRepository.GetByOrder(id); var linesInput = GetLineInput(lines); return(GetOrderInput(order, linesInput)); }