Beispiel #1
0
        public HttpResponseMessage <SatelliteImage> GetById(int id, HttpRequestMessage <int> request)
        {
            var satelliteImage = satelliteImageRepository.GetById(id);

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