/// <summary>
        /// The prompt.
        /// </summary>
        /// <param name="existetPlans">The existet plans.</param>
        /// <returns>
        /// The <see cref="string" />.
        /// </returns>
        public static SonarActionPlan Prompt(List<SonarActionPlan> existetPlans)
        {
            var inst = new PromptUserForNewPlan(existetPlans);
            inst.ShowDialog();

            if ((bool)inst.DialogResult)
            {
                var plan = new SonarActionPlan();
                plan.Name = inst.nameOfPlan.Text;
                plan.Description = inst.descriptionPlan.Text;
                if (inst.datePicker.SelectedDate.HasValue)
                {
                    plan.DeadLine = inst.datePicker.SelectedDate.Value;
                }

                return plan;
            }

            return null;
        }
        /// <summary>
        /// The prompt.
        /// </summary>
        /// <param name="existetPlans">The existet plans.</param>
        /// <returns>
        /// The <see cref="string" />.
        /// </returns>
        public static SonarActionPlan Prompt(List <SonarActionPlan> existetPlans)
        {
            var inst = new PromptUserForNewPlan(existetPlans);

            inst.ShowDialog();

            if ((bool)inst.DialogResult)
            {
                var plan = new SonarActionPlan();
                plan.Name        = inst.nameOfPlan.Text;
                plan.Description = inst.descriptionPlan.Text;
                if (inst.datePicker.SelectedDate.HasValue)
                {
                    plan.DeadLine = inst.datePicker.SelectedDate.Value;
                }

                return(plan);
            }

            return(null);
        }