Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Collections.Generic;
- using System.Linq;
- using System.Web.Mvc;
- using EPiServer;
- using EPiServer.Core;
- using EPiServer.Framework.DataAnnotations;
- using EPiServer.Web.Mvc;
- using EPiServerLunchguiden.Models.Pages;
- using EPiServer.Web.Routing;
- namespace EPiServerLunchguiden.Controllers
- {
- public class StartPageController : PageController<StartPage>
- {
- public ActionResult Index(StartPage currentPage)
- {
- return View(currentPage);
- }
- [HttpPost]
- public ActionResult Index(StartPage currentPage, string q)
- {
- return View(currentPage);
- }
- public ActionResult Search()
- {
- return null;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement