public ActionResult Photo(int id) { DataBaseControl a = new DataBaseControl(); var photo = a.GetPhotoId(id); return(View(photo)); }