public MainWindow()
        {
            InitializeComponent();

            taskList = db.GetAll();

            TaskList.ItemsSource = taskList;
            TaskList.Items.Refresh();
        }
예제 #2
0
 public IEnumerable <MainTask> GetAll()
 {
     return(_mainTaskRepository.GetAll());
 }