Exemple #1
0
 public ActionResult ActiveRecords(DateTime?dt)
 {
     if (dt.HasValue)
     {
         TempData["ActiveRecords"]  = CurrentDatabase.ActiveRecordsdt(dt.Value);
         TempData["ActiveRecords2"] = CurrentDatabase.ActiveRecords2dt(dt.Value);
     }
     else
     {
         TempData["ActiveRecords"]  = CurrentDatabase.ActiveRecords();
         TempData["ActiveRecords2"] = CurrentDatabase.ActiveRecords2();
     }
     return(View("Support2"));
 }