Exemplo n.º 1
0
        public IHttpActionResult GetByMaxOccupants(int occupancy)
        {
            DriverService driverService = CreateDriverService();
            var           drivers       = driverService.GetDriversByOccupancy(occupancy);

            return(Ok(drivers));
        }