Untitled

 avatar
unknown
plain_text
a year ago
316 B
5
Indexable
public IActionResult Ekle(Ogrenci ogrenci)
{
      if (ogrenci.OkulNo < 0)
     { 
          return Content("Geçerli bir okul numarası giriniz.");
     }

     if (string.IsNullOrEmpty(ogrenci.OgrenciAdi))
    {
          return Content("Öğrenci adı boş bırakılamaz.");
    }
 return View();
 }
Editor is loading...
Leave a Comment