Imprägnierungen können gespeichert werden
This commit is contained in:
@@ -80,7 +80,8 @@ namespace DaSaSo.Wpf.HostBuilders
|
||||
services.AddTransient<CreateViewModel<ImpregnierungEditViewModel>>(services =>
|
||||
{
|
||||
return () => new ImpregnierungEditViewModel(
|
||||
services.GetRequiredService<IActualProject>()
|
||||
services.GetRequiredService<IActualProject>(),
|
||||
services.GetRequiredService<IDataService<Impregnation>>()
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
@@ -37,6 +37,6 @@
|
||||
<TextBox Grid.Column="1" Grid.Row="5" Text="" />
|
||||
<CheckBox Grid.Column="1" Grid.Row="6" Content="Ja" Style="{StaticResource checkBoxCircleSmall}"/>
|
||||
|
||||
<Button Grid.Row="7" Grid.ColumnSpan="2" Content="Speichern" />
|
||||
<Button Grid.Row="7" Grid.ColumnSpan="2" Content="Speichern" Command="{Binding SaveImpregnation}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
||||
Reference in New Issue
Block a user