public SlideShow GetSlideShow(int id)
        {
            SlideShow slideshow = db.SlideShows.Find(id);

            return(slideshow);
        }
 public void CreateSlideShow(SlideShow slideshow)
 {
     db.SlideShows.Add(slideshow);
     db.SaveChanges();
 }
 public void UpdateSlideShow(SlideShow slideshow)
 {
     db.Entry(slideshow).State = EntityState.Modified;
     db.SaveChanges();
 }