public IOrder ProcessOrder(IOrder order) { if (order.Processed != true) { return(_ordersRepo.UpdateOrder(order)); } return(order); }