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); }
public UserService(UserEndPoint endPoint, CompanyEndPoint companyEndPoint) { _endPoint = endPoint; _companyEndPoint = companyEndPoint; }
public CompanyService(CompanyEndPoint endPoint) { _endPoint = endPoint; }