// GET: Therapist/Create
        public ActionResult Create()
        {
            var model = new CreateTherapistViewModel()
            {
                TreatmentsSelectListItems = GetTreatmentForSelectedList(),

            };
            return View(model);
        }
        public ActionResult Create(CreateTherapistViewModel model)
        {
            if (ModelState.IsValid)
                {
                List<Treatment> treats = new List<Treatment>();
                    model.SelectedTreatmentId = model.SelectedTreatmentId ?? new int[0];
                foreach (int i in model.SelectedTreatmentId)
                    {
                        treats.Add(service.TreatmentGateway.GetOne(i));
                    }
                Therapist therapist = new Therapist
                {
                    Name = model.Name,
                    Description = model.Description,
                    WorkingHourses = model.WorkingHourses,
                    Treatments = treats
                };

                service.TherapistGateway.CreateOne(therapist);
                return RedirectToAction("Index");
                }
                return View();
        }