public override ActionResult Edit(  int Id, FormCollection collection)
        {
            dynamic table = new Users();

            //var m = Membership.GetUser(collection["UserName"]);
            //m.ChangePassword(collection["OldPassword"], collection["Password"]);
            //var password = m.GetPassword();

            dynamic o = new ExpandoObject();
            {
                o.Id = Id;
                o.Email = collection["Email"];
                //o.PasswordHash = password;
            }
            table.Save(o);
            return base.Edit(Id, collection);
        }
 public UsersController(ITokenHandler tokenStore)
     : base(tokenStore)
 {
     _table = new Users();
     ViewBag.Table = _table;
 }