public ActionResult ViewCompany() { ManageCompany dbhandle = new ManageCompany(); ModelState.Clear(); return(View(dbhandle.ViewC_Regi())); }
public ActionResult Edit(int id) { ManageCompany sdb = new ManageCompany(); return(View(sdb.ViewC_Regi().Find(smodel => smodel.C_Id == id))); }