示例#1
0
 /// <summary>
 /// Creator: Brandyn T. Coverdill
 /// Created: 2020/02/22
 /// Approver: Dalton Reierson
 /// Approver:  Jesse Tomash
 ///
 /// The method that adds a new item to the database.
 /// </summary>
 ///
 /// <remarks>
 /// Updated By:
 /// Updated:
 /// Update:
 /// </remarks>
 /// <param name="item"></param>
 public bool createNewItem(Item item)
 {
     try
     {
         return(_itemAccessor.addNewItem(item));
     }
     catch (Exception ex)
     {
         throw new ApplicationException("Unable to add a new Item", ex);
     }
 }