Example #1
0
        public ActionResult List()
        {
            //Get Account
            var AccUserName      = User.Identity.Name;
            AccountViewModel acc = (Crud.GetAccount(AccUserName)).ToModel();
            //Get Accounts Album
            List <AlbumViewModel> Albums = Crud.AccGetAlbums(acc.Id).ToModelList();

            Albums.GetPictures();
            return(PartialView("List", Albums));
        }