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