private void UpdateButtonCommandExecute(object param)
        {
            TehnoloskiPostupak tehnoloskiPostupak = new TehnoloskiPostupak
            {
                IDTehPostupak  = _idTehnoloskogPostupka,
                SerijaKom      = Int32.Parse(_serijaKom),
                BrKomada       = Int32.Parse(_brKom),
                TipTehPostupak = _tipTehnoloskogPostupka,
                VremeIzrade    = Int32.Parse(_vremeIzrade)
            };
            bool isUpdated = _tehnoloskiPostupakSqlProvider.UpdateTehnoloskiPostupakById(tehnoloskiPostupak);

            if (isUpdated)
            {
                Window curWindow = (Window)param;
                curWindow.Close();
                mainContentViewModel.RefreshData();
            }
            else
            {
                ErrorDialog          errorDialog          = new ErrorDialog();
                ErrorDialogViewModel errorDialogViewModel = (ErrorDialogViewModel)errorDialog.DataContext;
                errorDialog.Title = "Greška";
                errorDialogViewModel.ErrorMessage = "Došlo je do greške. Pokušajte ponovo";
                errorDialog.ShowDialog();
            }
        }