private void OnTaskDetailsReceived(UpdateTaskDetailsMessage taskDetails) { LoadData(); SelectedTask = taskDetails.Task; if (taskDetails.Task.Car != null) { selectedCustomer = taskDetails.Task.Car.Customer; } _DialogService.CloseSparepartsWindows(); }