aktueller Stand
This commit is contained in:
@@ -1,24 +1,11 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Input;
|
||||
|
||||
using C4IT.FASD.Base;
|
||||
using C4IT.FASD.Cockpit.Communication;
|
||||
using C4IT.Logging;
|
||||
using C4IT.MultiLanguage;
|
||||
|
||||
using FasdDesktopUi.Basics.Models;
|
||||
|
||||
using FasdDesktopUi.Basics.UserControls;
|
||||
using FasdDesktopUi.Basics.Services.SupportCase.Controllers;
|
||||
using FasdDesktopUi.Pages.DetailsPage;
|
||||
using FasdDesktopUi.Pages.DetailsPage.UserControls;
|
||||
|
||||
using static C4IT.Logging.cLogManager;
|
||||
|
||||
@@ -26,11 +13,14 @@ namespace FasdDesktopUi.Basics.UiActions
|
||||
{
|
||||
public class cChangeHealthCardAction : cUiActionBase
|
||||
{
|
||||
private readonly SupportCaseController _supportCaseController;
|
||||
|
||||
public cF4sdApiSearchResultRelation ResultRelation { get; private set; } = null;
|
||||
|
||||
public cChangeHealthCardAction(cF4sdApiSearchResultRelation resultRelation)
|
||||
public cChangeHealthCardAction(cF4sdApiSearchResultRelation resultRelation, SupportCaseController supportCaseController)
|
||||
{
|
||||
ResultRelation = resultRelation;
|
||||
_supportCaseController = supportCaseController;
|
||||
}
|
||||
|
||||
public override async Task<bool> RunUiActionAsync(object sender, UIElement UiLocation, bool isDetailedLayout, cSupportCaseDataProvider dataProvider)
|
||||
@@ -52,6 +42,8 @@ namespace FasdDesktopUi.Basics.UiActions
|
||||
detailsPage.NavigationHeadingUc.ResetSelectors();
|
||||
|
||||
await dataProvider.ExchangeCaseIdentitiesAsync(ResultRelation);
|
||||
_supportCaseController.UpdateFocusedCaseRelation(ResultRelation);
|
||||
detailsPage.UpdateHealthcardSectionVisibilities();
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user