示例#1
0
        public IActionResult AddService(int id, int addedServiceId)
        {
            Stylist selectedStylist = Stylist.FindStylist(id);
            Service selectedService = Service.FindService(addedServiceId);

            selectedStylist.AddService(selectedService);
            return(RedirectToAction("StylistInfo"));
        }