Ejemplo n.º 1
0
 public int Login( string loginname, string password )
 {
     UserTrunk trunk = new UserTrunk(this.datasource);
     return trunk.identify(loginname, password);
 }
Ejemplo n.º 2
0
 public UserStruct GetLoginUser(int id)
 {
     UserTrunk trunk = new UserTrunk(this.datasource);
     return trunk.getUser(id).AsStruct;
 }