Ejemplo n.º 1
0
        public TwoFactorController() :
            base("ServicesUrl\\UserService")
        {
            Client = new TwoFactorService.TwoFactorServiceClient(Channel);
            var userClient = new UserService.UserServiceClient(Channel);

            MsgService = new TiantianMsg(userClient);
        }
Ejemplo n.º 2
0
 public UserController() :
     base("ServicesUrl\\UserService")
 {
     //BaseService.CheckChannelStatus(Channel);
     Client       = new UserService.UserServiceClient(Channel);
     FactorClient = new TwoFactorService.TwoFactorServiceClient(Channel);
     MsgService   = new TiantianMsg(Client);
 }