Esempio n. 1
0
        public IActionResult Get(int id)
        {
            var house = _monitor.GetBuilding(id);

            if (house != null)
            {
                return(Ok(house));
            }

            return(NotFound());
        }