public ActionResult Create(Maas maas) { maas.Id = Guid.NewGuid().ToString(); bool isSaved = _maasManager.Add(maas); string mgs = ""; if (isSaved) { mgs = "Maas kaydedildi"; } else { mgs = "Maas save hatasi"; } ViewBag.Mgs = mgs; return(View()); }
public ActionResult Create(Maas maas) { maas.Id = Guid.NewGuid().ToString(); bool isSaved = _maasManager.Add(maas); string mgs = ""; if (isSaved) { mgs = "Maas kaydedildi"; } else { mgs = "Maas save hatasi"; } ViewBag.Mgs = mgs; return(View()); }