Exemplo n.º 1
0
 public ActionResult UserInfoPart()
 {
     var cookie = Request.Cookies["access_token"];
     AccountView acc = null;
     if (cookie!=null)
         acc = new AccountView(DataBase.Account.Get(cookie.Value));
     return View("UserInfoPart",acc);
 }
Exemplo n.º 2
0
        public ActionResult Manage()
        {
            AccountView u = new AccountView(Authentication.CurrentAccount);

            return View("Manage", u);
        }
Exemplo n.º 3
0
Arquivo: User.cs Projeto: kioltk/mvc
 public UserView(users u)
 {
     _u = u;
     _acc = new AccountView(_u.accounts);
 }