public static ProductGallery GetGalleryById(int Id)
        {
            SqlProductGalleryProvider provider = new SqlProductGalleryProvider();

            return(provider.GetGalleryById(Id));
        }
        public static List <ProductGallery> GetAllProductGalleriesByProductId(long?productId)
        {
            SqlProductGalleryProvider provider = new SqlProductGalleryProvider();

            return(provider.GetAllProductGalleriesByProductId(productId));
        }
        public static bool DeleteProductGallery(long Id)
        {
            SqlProductGalleryProvider provider = new SqlProductGalleryProvider();

            return(provider.DeleteProductGallery(Id));
        }
        public static long InsertProductGallery(ProductGallery gallery)
        {
            SqlProductGalleryProvider provider = new SqlProductGalleryProvider();

            return(provider.InsertProductGallery(gallery));
        }
        public static bool UpdateProductGallery(ProductGallery gallery)
        {
            SqlProductGalleryProvider provider = new SqlProductGalleryProvider();

            return(provider.UpdateProductGallery(gallery));
        }
        public static List <ProductGallery> GetAllProductGallery()
        {
            SqlProductGalleryProvider provider = new SqlProductGalleryProvider();

            return(provider.GetAllProductGallery());
        }