예제 #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));
        }
예제 #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));
        }