Ejemplo n.º 1
0
 public object Select(ISelect selectCMD)
 {
     if (this.userInfo == null)
     {
         throw new  NotLoginException();
     }
     if (!(new UserValidator(this.userInfo).CheckAuth(selectCMD.RequiredAuth)))
     {
         throw new  NotAuthException();
     }
     return(selectCMD.GetData());
 }