Пример #1
0
        public SpeakController(AlertingService alertingService)
        {
            _alertingService = alertingService;

            _historyRepository = new FileSpeechHistoryRepository();
            _snoozeService     = new FileSnoozeService();
        }
Пример #2
0
        public async Task <IActionResult> History()
        {
            var history = new FileSpeechHistoryRepository();

            var data = history.GetAll();

            return(View(data));
        }