private void OnEditEntity(EventParameters<EntityOperationRequest<Entity>> obj)
 {
     if (obj.Topic == EventTopicNames.EditEntityDetails)
     {
         _operationRequest = obj.Value;
         var entityType = _cacheService.GetEntityTypeById(obj.Value.SelectedEntity.EntityTypeId);
         SelectedEntity = new EntitySearchResultViewModel(obj.Value.SelectedEntity, entityType);
         CustomDataViewModel = new EntityCustomDataViewModel(obj.Value.SelectedEntity, entityType);
         SelectedEntity.UpdateDetailedInfo();
         RaisePropertyChanged(() => CustomDataViewModel);
         RaisePropertyChanged(() => IsEntitySelectorVisible);
     }
 }