public IdentityAdapter(IIdentityProvider identityContext)
        {
            DbContext dbContext = identityContext.GetContext() as DbContext;

            if (dbContext == null)
            {
                throw new ArgumentException();
            }
            this._roleService    = new RoleService(new RoleStore <Role>(dbContext));
            this._accountService = new AccountService(new UserStore <Account>(dbContext));
        }