Exemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();

            worksRepo = new Repository.AppSettingImp.WorksRepository();
            mainVM    = new MainViewModel(worksRepo.GetLast());

            MainV.DataContext = mainVM;
            mainVM.Clock.Mode = ClockModel.ClockMode.Viewed;
        }
Exemplo n.º 2
0
 public StoresWorkService(IWorksRepository worksRepository)
 {
     _worksRepository = worksRepository;
 }
Exemplo n.º 3
0
 public StoresWorkService(IWorksRepository worksRepository)
 {
     _worksRepository = worksRepository;
 }
Exemplo n.º 4
0
 public WorksController(IWorksRepository repository)
 {
     _repository = repository;
 }