public void EndAppointment()
        {
            TimeSpan timeNow         = DateTime.Now.TimeOfDay;
            string   startTimeString = ActiveAppointment[6].ToString();
            TimeSpan startTime       = TimeSpan.Parse(startTimeString.Insert(startTimeString.Length - 2, ":"));

            int appointmentDuration = (int)(timeNow - startTime).TotalMinutes;

            AppointmentLogic.EndAppointment(ActiveAppointment, appointmentDuration);

            MessengerInstance.Send <string>("DoctorHomeView");
            return;
        }