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); }
public ActionResult Manage() { AccountView u = new AccountView(Authentication.CurrentAccount); return View("Manage", u); }
public UserView(users u) { _u = u; _acc = new AccountView(_u.accounts); }