Esempio n. 1
0
 public ActionResult Filter(DateTime?from, DateTime?to)
 {
     if (from == null || to == null)
     {
         return(RedirectToAction("ReservesList"));
     }
     else
     {
         return(View("ReservesList", ReservationService.FilterByDate(from, to)));
     }
 }