private void EditPersonalInfo(StudentDto dto)
        {
            var viewModel = new EditPersonalInfoViewModel(dto.Id, dto.Name, dto.Email);

            _dialogService.ShowDialog(viewModel);

            Search();
        }
        private void EditPersonalInfo(StudentDto dto)
        {
            var viewModel = new EditPersonalInfoViewModel(dto.Id, dto.Name, dto.Email);

            _dialogService.ShowDialog(viewModel);
            using (var mbClient = new MessageBrokerClient())
            {
                mbClient.Send($"Student was edited: {dto.Name}");
            }
            Search();
        }