예제 #1
0
 /// <summary>
 /// checkts to see if lineitem exists
 /// </summary>
 /// <param name="id">the id of the line item</param>
 /// <returns>If it exists or not</returns>
 private async Task <bool> LineItemExists(int id)
 {
     return(await _context.GetLineItem(id) != null);
 }