public ActionResult AddSpecialist(int stylistId)
        {
            Stylist    stylist    = Stylist.Find(stylistId);
            Specialist specialist = Specialist.Find(int.Parse(Request.Form["specialist-id"]));

            stylist.AddSpecialist(specialist);
            return(RedirectToAction("Details", new { id = stylistId }));
        }
        public ActionResult CreateSpecialist(int stylistId)
        {
            Dictionary <string, object> model = new Dictionary <string, object>();
            Stylist    newStylist             = Stylist.Find(stylistId);
            Specialist newSpecialist          = new Specialist(Request.Form["new-specialist"]);

            newSpecialist.Save();
            newStylist.AddSpecialist(newSpecialist);
            List <Specialist> stylistSpecialist = newStylist.GetSpecialist();

            model.Add("specialist", stylistSpecialist);
            model.Add("stylist", newStylist);
            return(RedirectToAction("Index", new{ id = stylistId }));
        }