public ActionResult Insert(Bilgi bilgiler) { NWBusinessLogic nwBusiness = new NWBusinessLogic(); nwBusiness.Save(bilgiler); return(View()); }
public ActionResult Delete(Bilgi bilgi) { using (var ctx = new TestDatabaseEntities()) { if (ModelState.IsValid) { NWBusinessLogic nwBusiness = new NWBusinessLogic(); nwBusiness.Delete(bilgi); } return(View()); } }
public ActionResult Select() { NWBusinessLogic nwBusiness = new NWBusinessLogic(); return(View(nwBusiness.List())); }