private bool OrderValidation(Domain.Orders.Order order) { var orderPrice = order.Amount; var orderDiscount = order.DiscountApplied; order.CalculateOrderAmount(); if (order.Amount != orderPrice) { AddError("Price of order is different"); return(false); } if (order.DiscountApplied != orderDiscount) { AddError("Discount Applied is different"); return(false); } return(true); }