public ActionResult ScheduleConsultation(int clientId, ScheduleConsultationRequest scheduleConsultation)
        {
            if (ModelState.IsValid)
            {
                var client = _db.ClientInfoModels.SingleOrDefault(x => x.Id == clientId);
                if (client != null)
                {
                    client.ScheduleConsultation = new ScheduleConsultationModel
                        {
                            When = scheduleConsultation.When,
                            OnDateTime = scheduleConsultation.OnDateTime,
                            DaysOfTheWeek = scheduleConsultation.DaysOfTheWeek,
                            TimesOfTheDay = scheduleConsultation.TimesOfTheDay,
                            AdditionalPreferences = scheduleConsultation.AdditionalPreferences
                        };
                    _db.SaveChanges();

                    return RedirectToAction("ThanksForVisiting", new { clientId });
                }
            }

            return View(scheduleConsultation);
        }
        public ActionResult ScheduleConsultation(int clientId)
        {
            var client = _db.ClientInfoModels.SingleOrDefault(x => x.Id == clientId);
            if (client != null && client.ScheduleConsultation != null)
            {
                var scheduleConsultation = new ScheduleConsultationRequest
                    {
                        When = client.ScheduleConsultation.When,
                        OnDateTime = client.ScheduleConsultation.OnDateTime,
                        DaysOfTheWeek = client.ScheduleConsultation.DaysOfTheWeek,
                        TimesOfTheDay = client.ScheduleConsultation.TimesOfTheDay,
                        AdditionalPreferences = client.ScheduleConsultation.AdditionalPreferences,
                    };

                return View(scheduleConsultation);
            }

            return View();
        }