private void buttonObrisiSalu_Click(object sender, RoutedEventArgs e)
        {
            if (SelektovanaSoba == null || string.IsNullOrWhiteSpace(SelektovanaSoba.Sifra.ToString()))
            {
                return;
            }
            foreach (Soba soba in TempSobe)
            {
                if (soba.Sifra == SelektovanaSoba.Sifra)
                {
                    RoomController             roomController             = new RoomController();
                    RenovationPeriodController renovationPeriodController = new RenovationPeriodController();
                    renovationPeriodController.CancelRenovation(soba.Sifra);
                    roomController.DeleteRoom(soba.Sifra);
                    //EquipmentInRoomsController ec = new EquipmentInRoomsController();
                    //ec.deleteLeftEquipmentInRooms(soba.Sifra);
                    ExaminationController exc = new ExaminationController();
                    exc.DeleteRoomExaminations(soba.Sifra);
                    PlacementInSickRoomController pc = new PlacementInSickRoomController();
                    pc.DeleteRoomPlacements(soba.Sifra);
                    DoctorController dc    = new DoctorController();
                    UserController   uc    = new UserController(dc);
                    List <User>      lista = uc.ViewAllUsers();
                    foreach (Doctor d in lista)
                    {
                        Doctor n = (Doctor)d;
                        n.DoctorsOffice = new Room();
                        List <Room> rooms = roomController.ViewRooms();
                        n.DoctorsOffice = rooms.First();
                    }
                    SelektovanaSoba = null;
                    ClearFields();
                    UpdateTempSoba();

                    break;
                }
            }
        }