예제 #1
0
 /// <summary author="Kevin Broskow" created="2019/01/23">
 /// Method used to deactivate a item
 /// </summary>
 /// <updates>
 /// <update author="Jared Greenfield" date="2019/04/03">
 /// Converted to Item from Product
 /// </update>
 /// </updates>
 /// <param name="selectedItem">The item to be deactivated in the database</param>
 /// <returns>void</returns>
 public void DeactivateItem(Item selectedItem)
 {
     try
     {
         _itemAccessor.DeactivateItem(selectedItem);
     }
     catch (Exception ex)
     {
         ExceptionLogManager.getInstance().LogException(ex);
         throw ex;
     }
 }