示例#1
0
        public ActionResult DeleteStaff(int IntStaffID)
        {
            Staff remStaff = new Staff
            {
                IntStaffID = IntStaffID
            };

            bool success = StaffDAL.DeleteStaff(remStaff);

            StaffVM model = new StaffVM()
            {
                LstStaff      = StaffDAL.GetAllStaff(),
                LstAllMembers = MembersDAL.GetAllMembers(),
                LstAllShows   = ShowsDAL.GetAllShows()
            };

            return(PartialView("CRUDPartials/_Staff", model));
        }