/// <summary>
 /// This method invokes method for deleting order.
 /// </summary>
 public void CancelRecipeExecute()
 {
     try
     {
         MessageBoxResult result = MessageBox.Show("Are you sure you want to cancel editing ingredients for recipe?", "Confirmation", MessageBoxButton.YesNo, MessageBoxImage.Question);
         if (result == MessageBoxResult.Yes)
         {
             MessageBox.Show("Edit is canceled.", "Notification", MessageBoxButton.OK);
             editIngView.Close();
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.ToString());
     }
 }