public SpeakController(AlertingService alertingService) { _alertingService = alertingService; _historyRepository = new FileSpeechHistoryRepository(); _snoozeService = new FileSnoozeService(); }
public async Task <IActionResult> History() { var history = new FileSpeechHistoryRepository(); var data = history.GetAll(); return(View(data)); }