public IEnumerable <ProfileJam> Delete(int id) { ProfileJam profilejam = profileJamRepo.GetById(id); profileJamRepo.Delete(profilejam); return(profileJamRepo.GetAll()); }
public IEnumerable <Profile> Delete(int id) { var profile = profileRepo.GetById(id); profileRepo.Delete(profile); return(profileRepo.GetAll()); }
public IEnumerable <Jam> Delete(int id) { var jam = jamRepo.GetById(id); jamRepo.Delete(jam); return(jamRepo.GetAll()); }