public override void OnAuthorization(AuthorizationContext filterContext)
        {
            account_types = AccountTypes.ToList();

            PrasagIdentity id = new PrasagIdentity();
            PrasagPrincipal User = new PrasagPrincipal(filterContext.HttpContext, id, new PrasagMemberManager());
            SetLocalTestID(User);

            filterContext.HttpContext.User = User;
            base.OnAuthorization(filterContext);
        }
 public PrasagPrincipal(HttpContextBase Context, PrasagIdentity identity, PrasagMemberManager member_am)
 {
     this.member = new PrasagAccount(Context, member_am);
     this.Identity = identity;
 }