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