public ActionResult GetPicByAlbum(int AID)
        {
            if (Session["IDs"] != null)
            {
                List <int> IDs   = (List <int>)Session["IDs"];
                List <pic> MyImg = IMGPRO.AlbumPic(User.Identity.Name, AID);

                foreach (int i in IDs)
                {
                    pic thispic = MyImg.Where(x => x.Id == i).FirstOrDefault();
                    MyImg.Remove(thispic);
                }

                return(PartialView("_LP", MyImg));
            }

            else
            {
                List <pic> MyImg = IMGPRO.AlbumPic(User.Identity.Name, AID);
                return(PartialView("_LP", MyImg));
            }
        }