public async Task <IActionResult> DeleteItem(int?id) { if (id == null) { return(NotFound()); } await _repairRepository.DeleteDetailTempAsync(id.Value); return(this.RedirectToAction("Create")); }