Created
July 30, 2012 00:23
-
-
Save toddpi314/3202861 to your computer and use it in GitHub Desktop.
Lightning_AuthenticationController
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Web.Security; | |
using LightningMVC.Views.LogOn; | |
namespace LightningMVC.Controllers | |
{ | |
public class AuthenticationController : BaseController | |
{ | |
public ActionResult LogOn() | |
{ | |
return ResolveView<LogOnViewModel>("LogOn"); | |
} | |
[HttpPost] | |
public ActionResult LogOn(LogOnViewModel vm) | |
{ | |
return ResolveView<LogOnViewModel>("LogOn"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment