示例#1
0
 public ActionResult IlceDuzenle(Ilceler model)
 {
     if (ModelState.IsValid)
     {
         bool kontrol = _film.IlceDuzenle(model);
         if (kontrol)
         {
             return(RedirectToAction("IlceListesi", new { IlId = model.IlID }));
         }
         else
         {
             return(RedirectToAction("HataBildirimi", new { Bilgi = "İlce Düzenlenirken Bir Hata Oluştur." }));
         }
     }
     return(View(model));
 }