Пример #1
0
        public House GetHouse(long id)
        {
            var house = m_houseRepository.Find(id);

            if (house == null)
            {
                throw new HttpResponseException(new HttpResponseMessage(HttpStatusCode.NotFound));
            }

            return(house);
        }