Example #1
0
 private ActionResult Login(UserDto domainUser)
 {
     var lucidUser = new LucidUser(domainUser);
     CookieAuthentication.Authenticate(Response, lucidUser);
     return Redirect(Actions.Index());
 }
Example #2
0
 public LucidUser(UserDto userDto)
     : this(userDto.UserId, userDto.Name)
 {
 }