예제 #1
0
        public ActionResult ViewCompany()
        {
            ManageCompany dbhandle = new ManageCompany();

            ModelState.Clear();
            return(View(dbhandle.ViewC_Regi()));
        }
예제 #2
0
        public ActionResult Edit(int id)
        {
            ManageCompany sdb = new ManageCompany();

            return(View(sdb.ViewC_Regi().Find(smodel => smodel.C_Id == id)));
        }