/// <summary> /// Delete unshipped Bill of ladings. /// </summary> /// <param name="ShippingIdList"></param> /// <returns></returns> internal bool DeleteBol(string customerId, string ShippingIdList) { var shippingIdList1 = ShippingIdList.Split(','); try { foreach (var shippingId in shippingIdList1) { _repos.DeleteBol(shippingId); } // Since counts for this customer have changed, remove them from the cache CustomerOrderSummaryCache.Remove(customerId); return(true); } catch (Exception) { return(false); } }