Exemple #1
0
        public void UpdateOrderState(string orderIdentifier, Enums.EnumOrderState state)
        {
            var dbOrder = _db.Orders.FirstOrDefault(ln => ln.OrderIdentifier == orderIdentifier);

            dbOrder.OrderState = state;
            _db.SaveChanges();
        }
 public void UpdateOrderState(string orderIdentifier, Enums.EnumOrderState state)
 {
     orderContext.UpdateOrderState(orderIdentifier, state);
 }