Пример #1
0
 public ActionResult Index(int page = 1, string name = "")
 {
     page = page < 1 ? 1 : page;
     return(View(string.IsNullOrEmpty(name)
         ? _provider.GetEventsList(page - 1)
         : _provider.FindEvents(page - 1, name: name)));
 }
 public ActionResult Index(int page = 1)
 {
     return(View(_provider.GetEventsList(page - 1)));
 }
 // GET: EventsList
 public ActionResult Index(int page = 1)
 {
     return(View("~/Views/Events/EventsList/Index.cshtml", _provider.GetEventsList(page - 1)));
 }
Пример #4
0
 public ActionResult Index(int page = 1)
 {
     //RunCustomPipeline();
     return(View(_provider.GetEventsList(page - 1)));
 }