23 lines
654 B
C#
23 lines
654 B
C#
using EmployeeManagmentContracts.BusinessLogicContracts;
|
|
using System.Windows;
|
|
|
|
namespace EmployeeManagmentView.PhysicalPerson
|
|
{
|
|
public partial class ViewPhysicalPersonsWindow : Window
|
|
{
|
|
private readonly IPhisicalPersonLogic _phisicalPersonLogic;
|
|
|
|
public ViewPhysicalPersonsWindow(IPhisicalPersonLogic phisicalPersonLogic)
|
|
{
|
|
_phisicalPersonLogic = phisicalPersonLogic;
|
|
InitializeComponent();
|
|
LoadPhysicalPersons();
|
|
}
|
|
|
|
private void LoadPhysicalPersons()
|
|
{
|
|
PhysicalPersonsDataGrid.ItemsSource = _phisicalPersonLogic.GetFullList();
|
|
}
|
|
}
|
|
}
|