public IEnumerable <ProfileJam> Delete(int id)
        {
            ProfileJam profilejam = profileJamRepo.GetById(id);

            profileJamRepo.Delete(profilejam);
            return(profileJamRepo.GetAll());
        }
Пример #2
0
        public IEnumerable <Profile> Delete(int id)
        {
            var profile = profileRepo.GetById(id);

            profileRepo.Delete(profile);
            return(profileRepo.GetAll());
        }
Пример #3
0
        public IEnumerable <Jam> Delete(int id)
        {
            var jam = jamRepo.GetById(id);

            jamRepo.Delete(jam);
            return(jamRepo.GetAll());
        }