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

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