public ActionResult Search(string name) { DataBaseControl a = new DataBaseControl(); var photo = a.GetbyName(name); return(View(photo)); }