示例#1
0
        public void RemoveSchoolData(int ClientId)
        {
            PictureRepository picrep = new PictureRepository();
            picrep.RemoveSchoolPictures(ClientId);

            NotificationsRepository nrep = new NotificationsRepository();
            nrep.RemoveSchoolNotificationss(ClientId);

            EventRepository erep = new EventRepository();
            erep.RemoveSchoolEvents(ClientId);

            AdvertisementRepository arep = new AdvertisementRepository();
            arep.RemoveClientAdvertisement(ClientId);

            NewsRepository nerep = new NewsRepository();
            nerep.RemoveSchoolNewss(ClientId);

            ContactRepository crep = new ContactRepository();
            crep.RemoveSchoolContacts(ClientId);
        }