Haltung exporter angefangen
This commit is contained in:
29
SewerStammGen.WPF/Commands/ProjectExportCommand.cs
Normal file
29
SewerStammGen.WPF/Commands/ProjectExportCommand.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using SewerStammGen.Shared.Domain;
|
||||
using SewerStammGen.WPF.ViewModel.State;
|
||||
using Shared.Contracts;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SewerStammGen.WPF.Commands
|
||||
{
|
||||
internal class ProjectExportCommand : AsyncCommandBase
|
||||
{
|
||||
private readonly IActualState _actualState;
|
||||
private readonly IExport _export;
|
||||
|
||||
public ProjectExportCommand(IActualState actualState)
|
||||
{
|
||||
_actualState = actualState;
|
||||
|
||||
}
|
||||
|
||||
public override async Task ExecuteAsync(object? parameter)
|
||||
{
|
||||
await _export.Export(new List<Kanal>(), new List<Schacht>());
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user