Ejemplo n.º 1
0
        private void InstanceServices()
        {
            var companyEndPoint = new CompanyEndPoint(_customHttpCliente);

            _agentService           = new AgentService(new AgentEndPoint(_customHttpCliente));
            _itemsMonitoringService = new ItemsMonitoringService(new ItemsEndPoint(_customHttpCliente));
            _userService            = new UserService(new UserEndPoint(_customHttpCliente), companyEndPoint);
            _companyService         = new CompanyService(companyEndPoint);
        }
Ejemplo n.º 2
0
 public UserService(UserEndPoint endPoint, CompanyEndPoint companyEndPoint)
 {
     _endPoint        = endPoint;
     _companyEndPoint = companyEndPoint;
 }
Ejemplo n.º 3
0
 public CompanyService(CompanyEndPoint endPoint)
 {
     _endPoint = endPoint;
 }