public async Task <GetResult> Get([FromQuery] int logId) { return(new GetResult { Error = await _errorLogRepository.GetErrorLogAsync(logId) }); }