public ActionResult ConnectedCreate(StudentModel studentModel) { ADOOperations operations = new ADOOperations(); operations.ConnectedInsert(studentModel); return(RedirectToAction("Index")); }
public ActionResult Create(StudentModel studentModel) { ADOOperations operations = new ADOOperations(); operations.Insert(studentModel); return(RedirectToAction("Get")); }
public ActionResult Get() { ADOOperations operations = new ADOOperations(); return(View(operations.AdapterView())); }
public ActionResult Index() { ADOOperations operations = new ADOOperations(); return(View(operations.View())); }