public ActionResult Agnetsingle(int id) { var model = new F_House().DS_House.Where(x => x.HostID.Value == id).ToList(); F_Host Host = new F_Host(); ViewBag.Host = Host.FindEntity(id); return(View(model)); }
public ActionResult Propertysingle(int id) { F_House House = new F_House(); F_Host Host = new F_Host(); ViewBag.House = House.FindEntity(id); ViewBag.Host = Host.FindEntity(id); var model = new F_Image().DS_Image.Where(x => x.HouseID.Value == id).ToList(); return(View(model)); }