Пример #1
0
 public ActionResult Save(LogCredenciadoDto model)
 {
     if (ModelState.IsValid)
     {
         var LogCredenciado = new LogCredenciado();
         _LogCredenciado.Save(model);
         return(RedirectToAction("List"));
     }
     else
     {
         return(RedirectToAction("Create", model));
     }
 }
Пример #2
0
 public LogCredenciadoController()
 {
     _LogCredenciado = new LogCredenciado();
 }