Exemplo n.º 1
0
        public IHttpActionResult Get(int distritoId, int baseId, [FromUri] int[] transportistaId)
        {
            var ordersList = RoutingService.GetOrders(distritoId, baseId, transportistaId)
                             .Select(e => Mapper.EntityToModel(e, new OrderModel())).ToList();

            return(Ok(ordersList));
        }