public void ServiceTypeServiceSholdBeReturnServiceTypeTree() { var service = new ServiceTypeService.ServiceTypeService(); var tree = service.GetServiceTypesTree(); Assert.IsNotNull(tree); }
public MainWindowViewModel() { _serviceTypesService = new ServiceTypeService.ServiceTypeService(); ServiceTypesSource = _serviceTypesService.GetServiceTypesTree().Select(service => CreateServiceType(service)).ToList(); }