public DataAnaysisViewModel(IEventAggregator eventAggregator, ICustomerService customerService, ICustomerEquipmentService customerEquipmentService) { _eventAggregator = eventAggregator; _customerService = customerService; _customerEquipmentService = customerEquipmentService; //var principal = Thread.CurrentPrincipal as SystemPrincipal; //var agentId = principal.Identity.Id; // GetEquipmentTableListTaskAsyncByAgentId(agentId); }
public CustomerDetailViewModel(ICustomerEquipmentService customerEquipmentService, IMonitoringSummaryService monitoringSummaryService) { _monitoringSummaryService = monitoringSummaryService; _customerEquipmentService = customerEquipmentService; }