protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
         picture = null;
         pagination = null;
     }
     base.Dispose(disposing);
 }
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                db.Dispose();
                //Remove other objects also;
                picture = null;
                pagination = null;

            }
            base.Dispose(disposing);
        }