Example #1
0
        public ActionResult Edit(int id)
        {
            SetupFloorProviders SFloorPro = new SetupFloorProviders();
            SetupFloorModel     model     = new SetupFloorModel();

            model = SFloorPro.GetList().Where(x => x.FloorId == id).FirstOrDefault();
            return(View(model));
        }
Example #2
0
        //
        // GET: /SetupFloor/

        //public ActionResult Index()
        //{
        //    return View();
        //}
        public ActionResult Index()
        {
            SetupFloorProviders SFloorPro = new SetupFloorProviders();

            SetupFloorModel model = new SetupFloorModel();

            model.SetupFloorModelList = SFloorPro.GetList();
            return(View(model));
        }