示例#1
0
 public static void CleanUp()
 {
     if (_deliveryService != null)
     {
         _deliveryService.Dispose();
     }
 }
示例#2
0
 public static void CleanUp()
 {
     if (_storageBinService != null)
     {
         _storageBinService.Dispose();
     }
     if (_messageService != null)
     {
         _messageService.Dispose();
     }
 }
示例#3
0
 public ActionResult DeleteDelivery(int id)
 {
     deliveryService.Dispose(id);
     return(RedirectToAction("DeliveryDetail"));
 }