public ActionResult ReaderEditMS(ReaderSettingsNewMS readerSettingsNewMS, bool?WKapi_Aktif, string WKapi_Adi)
 {
     if (ModelState.IsValid)
     {
         _readerSettingsNewMSService.UpdateReaderSettingsNew(readerSettingsNewMS);
         var updatedReader = _readerSettingsNewService.GetByKapiANDPanel(1, (int)readerSettingsNewMS.Panel_ID);
         updatedReader.WKapi_Aktif = WKapi_Aktif;
         updatedReader.WKapi_Adi   = WKapi_Adi;
         _readerSettingsNewService.UpdateReaderSettingsNew(updatedReader);
         return(RedirectToAction("ReaderList", new { PanelID = readerSettingsNewMS.Panel_ID }));
     }
     return(View(readerSettingsNewMS));
 }
 public void DeleteReaderSettingsNew(ReaderSettingsNewMS readerSettingsNewMS)
 {
     _readerSettingsNewMSDal.Delete(readerSettingsNewMS);
 }
 public ReaderSettingsNewMS UpdateReaderSettingsNew(ReaderSettingsNewMS readerSettingsNewMS)
 {
     return(_readerSettingsNewMSDal.Update(readerSettingsNewMS));
 }
 public ReaderSettingsNewMS AddReaderSettingsNew(ReaderSettingsNewMS readerSettingsNewMS)
 {
     return(_readerSettingsNewMSDal.Add(readerSettingsNewMS));
 }