// // GET: /Photo/ public ActionResult Index() { DataBaseControl a = new DataBaseControl(); var photo = a.GetPhotos(); return(View(photo)); }