public ServiceResponse UpdateKafkaResult(TestLastReceived args) { try { _logger.LogInformation($"UpdateKafkaResult : args.Guid={args.Guid}, args.LastReceivedAt={args.LastReceivedAt}"); _repository.UpdateKafkaLastReceived(args); return(new ServiceResponse() { Success = true, Message = "Kafka result updated" }); } catch (Exception ex) { _logger.LogError($"UpdateKafkaResult : {ex.Message} \n {ex.InnerException}"); return(new ServiceResponse() { Success = false, Message = ex.Message }); } }