示例#1
0
        public ActionResult AddStylist(int clientId)
        {
            Client  client  = Client.Find(clientId);
            Stylist stylist = Stylist.Find(Int32.Parse(Request.Form["stylist-id"]));

            client.AddStylist(stylist);

            return(RedirectToAction("Success", "Home"));
        }