Initialized ViewModel
This commit is contained in:
parent
efbc9f91db
commit
d3327089ff
3 changed files with 17 additions and 5 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using ImageCatalog_2.Services;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
|
|
@ -9,6 +10,11 @@ namespace ImageCatalog_2
|
|||
{
|
||||
public class DataModel : ViewModelBase
|
||||
{
|
||||
private readonly ITestService _service;
|
||||
public DataModel(ITestService testService)
|
||||
{
|
||||
_service = testService;
|
||||
}
|
||||
|
||||
private string _sourcePath;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue