public IActionResult Ekle(Oneriler model) { if (ModelState.IsValid) { onerilerOperations.AddModel(model); return(RedirectToAction("Index")); } return(View(model)); }
public void Post(Oneriler oneri) { onerilerOperations.AddModel(oneri); }