public async Task <IActionResult> GetLogs(string userName) { LogsListContextDTO input = new LogsListContextDTO { UserName = userName }; var result = await _logService.GetLogs(input); if (result == null) { return(BadRequest("No Logs Found")); } return(Ok(result)); }
public void DoShow() { Show(); _logsService.GetLogs(); }