예제 #1
0
        public async Task <IActionResult> DeleteItem(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            await _repairRepository.DeleteDetailTempAsync(id.Value);

            return(this.RedirectToAction("Create"));
        }