28 lines
704 B
C#
28 lines
704 B
C#
using SewerStammGen.Shared.Domain;
|
|
using Shared.Contracts;
|
|
using StammGenerator.Commands;
|
|
using StammGenerator.ViewModel;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace StammGenerator.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>());
|
|
|
|
}
|
|
}
|
|
}
|