public static dynamic FindByToken(string token) { var db = new Users(); return db.Single(where: "Token = @0", args: token); }
public UsersController(ITokenHandler tokenStore) : base(tokenStore) { _table = new Users(); ViewBag.Table = _table; }