public async Task <IActionResult> Create([Bind("Id,ExpireTime,Key,Value")] Cache cache) { if (ModelState.IsValid) { _context.Add(cache); await _context.SaveChangesAsync(); return(RedirectToAction(nameof(Index))); } AddAudit("Create - Cache"); return(View(cache)); }