Exemplo n.º 1
0
        public ActionResult Delete(int?registerid, int?timestamp)
        {
            if (!timestamp.HasValue && !registerid.HasValue)
            {
                return(View("index", lijst));
            }
            int aantal = LogboekDA.DeleteLog(registerid.Value, timestamp.Value);

            //lijst.RemoveAll(m => m.Time == tekst && m.RegisterId == hallo);
            return(RedirectToAction("index"));
        }
Exemplo n.º 2
0
 // GET: Logboek
 public ActionResult Index()
 {
     lijst = LogboekDA.getLogs();
     return(View(lijst));
 }