private void RoomViewModelOnEditEnded(RealEstateEditViewModel <T> .EditEndedMode editEndedMode, T entity)
 {
     if (editEndedMode == RealEstateEditViewModel <T> .EditEndedMode.Add)
     {
         Entities.Add(CreateNewViewModel(entity));
     }
     if (editEndedMode == RealEstateEditViewModel <T> .EditEndedMode.Edit)
     {
         CurrentEntity.LoadViewModel(entity);
     }
 }