Example #1
0
        public ActionResult AddClientToStylist(int id)
        {
            Stylist newStylist = Stylist.Find(id);
            Client  newClient  = Client.Find(int.Parse(Request.Form["addClient"]));

            newStylist.AddClientStylist(newClient);
            return(RedirectToAction("FindStylist", new { id = id }));
        }