Exemple #1
0
        public async Task CreateOrderStatus(Order order)
        {
            OrderStatus orderStatus = new OrderStatus();

            orderStatus.OrderId     = order.Id;
            orderStatus.Ordered     = true;
            orderStatus.OrderedDate = DateTime.Now;
            var result = await orderStatusRepository.Create(orderStatus);
        }