public void Show(ClassEntityWithoutChildrenDto classEntityToDelete)
 {
     StringMatcher = new StringMatcher(classEntityToDelete.Name);
     ResetDialog(classEntityToDelete);
     ShowDialog = true;
     StateHasChanged();
 }
 private void ResetDialog(ClassEntityWithoutChildrenDto classEntityToDelete)
 {
     ClassEntity = classEntityToDelete;// _sessionDataService.LoggedInUserName };
 }