Esempio n. 1
0
 public RoleController(IRemotingClient remoteServiceClient, IUserAppServiceClient userAppServiceClient)
 {
     _remoteServiceClient    = remoteServiceClient;
     _userAppServiceClient   = userAppServiceClient;
     this._systemRoleService = remoteServiceClient.CreateSystemRoleAppService();
     this._userRoleService   = remoteServiceClient.CreateUserRoleAppService();
 }
Esempio n. 2
0
 public IndexModel(IRemotingClient remoteServiceClient)
 {
     this._remoteServiceClient = remoteServiceClient;
     this._systemRoleService   = remoteServiceClient.CreateSystemRoleAppService();
     this._userRoleService     = remoteServiceClient.CreateUserRoleAppService();
 }