Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        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));
        }