public async Task <IActionResult> GetAllEventLogs() { List <EventLog> allEventLogs = await _repo.GetAllEventLogs(); return(Ok(allEventLogs)); }