Advertisement
Guest User

Untitled

a guest
Aug 28th, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
ASP 0.73 KB | None | 0 0
  1. using System.Collections.Generic;
  2. using System.Linq;
  3. using System.Web.Mvc;
  4. using EPiServer;
  5. using EPiServer.Core;
  6. using EPiServer.Framework.DataAnnotations;
  7. using EPiServer.Web.Mvc;
  8. using EPiServerLunchguiden.Models.Pages;
  9. using EPiServer.Web.Routing;
  10.  
  11. namespace EPiServerLunchguiden.Controllers
  12. {
  13.     public class StartPageController : PageController<StartPage>
  14.     {
  15.  
  16.         public ActionResult Index(StartPage currentPage)
  17.         {
  18.             return View(currentPage);
  19.         }
  20.  
  21.         [HttpPost]
  22.         public ActionResult Index(StartPage currentPage, string q)
  23.         {
  24.             return View(currentPage);
  25.         }
  26.  
  27.         public ActionResult Search()
  28.         {
  29.             return null;
  30.         }
  31.     }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement