public async Task <IEnumerable <Logger> > AllLogs() { string userName = User.Identity.Name; var logs = await _loggerService.AllLogs(userName); return(logs); }