public void AddNewAlbum(ImageAlbumEntity obj)
 {
     try
     {
         List <KeyValuePair <string, object> > para = new List <KeyValuePair <string, object> >();
         para.Add(new KeyValuePair <string, object>("@AlbumName", obj.AlbumName));
         //para.Add(new KeyValuePair<string, object>("@AlbumPath", obj.AlbumPath));
         SQLHandler SQL = new SQLHandler();
         SQL.ExecuteNonQuery("usp_ImageAlbum_AddNewAlbum", para);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public void AddImages(ImageAlbumEntity obj)
        {
            ImageAlbumDataProvider ctr = new ImageAlbumDataProvider();

            ctr.AddNewImage(obj);
        }
        public void UpdateAlbum(ImageAlbumEntity obj)
        {
            ImageAlbumDataProvider ctr = new ImageAlbumDataProvider();

            ctr.UpdateAlbum(obj);
        }