/// <summary>
 /// Inputs an order into the Order table. Does NOT input products.
 /// </summary>
 /// <param name="BLOrder"></param>
 /// <param name="context"></param>
 public void InputOrder(Order BLOrder, StoreApplicationContext context)
 {
     try
     {
         context.Orders.Add(ParseHandler.LogicOrderToContextOrder(BLOrder));
         context.SaveChanges();
     }
     catch (Microsoft.EntityFrameworkCore.DbUpdateException e)
     {
         Console.WriteLine("Something went wrong inputting order: " + e);
     }
 }
        /// <summary>
        /// Adds new customer data to the Customer database table given a Business Logic customer object and a database context
        /// </summary>
        /// <param name="BLCustomer"></param>
        /// <param name="context"></param>
        public void AddNewCustomerData(StoreApp.BusinessLogic.Objects.Customer BLCustomer, StoreApplicationContext context)
        {
            //Some code to input customer data to the DB

            try
            {
                context.Customer.Add(ParseHandler.LogicCustomerToContextCustomer(BLCustomer));
                context.SaveChanges();
            }
            catch (Exception e)
            {
                Console.WriteLine("Failed to put the customer into the database: " + e.Message);
            }
        }
 /// <summary>
 /// Inputs the order products into the OrderProduct table under an order ID given a Business Logic Order, an order ID, and a database context
 /// </summary>
 /// <param name="BLOrder"></param>
 /// <param name="orderID"></param>
 /// <param name="context"></param>
 public void InputOrderProduct(BusinessLogic.Objects.Order BLOrder, int orderID, StoreApplicationContext context)
 {
     try
     {
         foreach (BusinessLogic.Objects.Product BLProd in BLOrder.customerProductList)
         {
             context.OrderProduct.Add(ParseHandler.LogicProductToContextOrderProduct(BLOrder, orderID, BLProd));
         }
         context.SaveChanges();
     }
     catch (Exception e)
     {
         Console.WriteLine("Something went wrong inputting the OrderProduct for the Order: " + e.Message);
         return;
     }
 }