Esempio n. 1
0
        public async Task <IActionResult> DeleteRoomFromBuilding(int id, int roomId)
        {
            try
            {
                await _buildingRepository.DeleteBuildingRoom(id, roomId);

                return(NotFound());
            }
            catch (Exception e)
            {
                _logger.LogError(e, "Error");
                return(NotFound());
            }
        }