using EmployeeManagementApp.Models; using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EmployeeManagementApp.ViewModels { public class MainViewModel : BaseViewModel { public ObservableCollection Employees { get; set; } public MainViewModel() { // Инициализация данных Employees = new ObservableCollection { new Employee { Id = 1, FirstName = "Иван", LastName = "Иванов", Position = "Менеджер", Salary = 50000, VacationDays = 14 }, new Employee { Id = 2, FirstName = "Мария", LastName = "Петрова", Position = "Разработчик", Salary = 70000, VacationDays = 20 } }; } } }