public void AddOrderToArchive(Order ordersToArchive)
 {
     OrderArchive.Add(ordersToArchive);
     PersistencyServiceOrderArchive.SaveOrderArchiveAsJsonAsync(OrderArchive);
 }
 public void RemoveOrderFromArchive(Order orderToBeRemoved)
 {
     OrderArchive.Remove(orderToBeRemoved);
     PersistencyServiceOrderArchive.SaveOrderArchiveAsJsonAsync(OrderArchive);
 }
 public void AddOrderToArchive(string orderName, string deadline, string delivery, string commentary)
 {
     OrderArchive.Add(new Order(orderName, deadline, delivery, commentary));
     PersistencyServiceOrderArchive.SaveOrderArchiveAsJsonAsync(OrderArchive);
 }