コード例 #1
0
 public IActionResult Delete(int compId)
 {
     _computerRepository.DeleteBooking(compId, _currentUserId);
     return(RedirectToAction("Index", "Home"));
 }