Beispiel #1
0
        public HttpResponseMessage <List <SatelliteImage> > GetAllSatellites(int regionId, HttpRequestMessage request)
        {
            var satelliteImageCollection = satelliteImageRepository.GetAll(regionId);

            return(new HttpResponseMessage <List <SatelliteImage> >(satelliteImageCollection)
            {
                StatusCode = HttpStatusCode.OK
            });
        }