public HomeViewModel() { _StartTimerCmd = new RelayCommand(ExecStartTimer, CanStartTimer); _ResetTimerCmd = new RelayCommand(ExecReset, CanReset); _PauseTimerCmd = new RelayCommand(ExecPauseTimer, CanPauseTimer); _SaveTodoListCmd = new RelayCommand(ExecSaveTodoList, CanSaveTodoList); _RowUpCmd = new RelayCommand(ExecRowUp, CanRowUp); _RowDownCmd = new RelayCommand(ExecRowDown, CanRowDown); _RowRightCmd = new RelayCommand(ExecRowRight, CanRowRight); _RowLeftCmd = new RelayCommand(ExecRowLeft, CanRowLeft); _UpdateRowWbsCmd = new RelayCommand(ExecUpdateRowWbs, CanUpdateRowWbs); _ExportToExcelCmd = new RelayCommand(ExecExportToExcel, CanExportToExcel); _UpdateTodoCmd = new RelayCommand(ExecUpdateTodo, CanUpdateTodo); _DeleteRowCmd = new RelayCommand(ExecDeleteRow, CanDeleteRow); _todoRepository = new Data.TodoRepository(); loadAllTodos(); RunTimer.Instance.RunTimeInSecs=(AppSettings.Instance.PomodoroDurationMinutes * 60); }
public FtpServerService(Data.IDataRepository <Data.Models.FtpServer> repo) { _repo = repo; }
public FtpFileService(Data.IDataRepository <Data.Models.FtpFile> repo) { _repo = repo; }