private void SaveExecute(object obj)
        {
            try
            {
                string       content  = null;
                tblInstitute previous = Service.Service.GetInstitute();
                if (previous.numberOfAccessPointsForInvalids > editClinic.numberOfAccessPointsForInvalids || previous.numberOfAmbulanceAccessPoints > editClinic.numberOfAmbulanceAccessPoints)
                {
                    MessageBox.Show("Access points can only be greater than previous ones.");
                    content = "Unsuccessful update of clinic due to lower values of access pointes then previouse ones.";
                }
                else
                {
                    //edit
                    tblInstitute institute = Service.Service.AddInstitute(editClinic);
                    if (institute != null)
                    {
                        content = "Clinic has been edited.";
                        MessageBox.Show("Clinic has been edited.");
                        clinic.Close();
                    }
                }

                LogIntoFile.getInstance().PrintActionIntoFile(content);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
        }