public IActionResult APILogDetail(Guid Id) { if (Id == null || Id == Guid.Empty) { return(RedirectToAction("APILog")); } LogVM rec = LogContext.GetLog(Id); if (rec == null) { return(RedirectToAction("APILog")); } return(View(rec)); }