public ActionResult getProfilePhotos()
        {
            Mugurtham.Core.Login.LoggedInUser objLoggedIn = (Mugurtham.Core.Login.LoggedInUser)Session["LoggedInUser"];
            List <Mugurtham.Core.Profile.Photo.PhotoCoreEntity> objPhotoCoreEntityList = new List <Mugurtham.Core.Profile.Photo.PhotoCoreEntity>();
            ProfileCore objProfileCore = new ProfileCore(ref objLoggedIn);

            using (objProfileCore as IDisposable)
                objProfileCore.GetProfilePhotos(ref objPhotoCoreEntityList, objLoggedIn.LoginID);
            objProfileCore = null;
            return(this.Json(objPhotoCoreEntityList, JsonRequestBehavior.AllowGet));
        }