public CarouselImage Edit(CarouselImage image)
        {
            var editImage = context.CarouselImages.Attach(image);

            editImage.State = EntityState.Modified;
            context.SaveChanges();
            return(image);
        }
 public CarouselImage Create(CarouselImage image)
 {
     context.CarouselImages.Add(image);
     context.SaveChanges();
     return(image);
 }