Пример #1
0
 public ActionResult ConfirmReturn(string Id)
 {
     try
     {
         BorrowingService.ReturnSubject(Id);
         return(RedirectToAction("index", "Home", new { area = "" }));
     }
     catch (Exception ex)
     {
         return(View("Error", new HandleErrorInfo(ex, "Borrowing", "Returning")));
     }
 }