public Order AddOrder()
        {
            var newOrder = new Order()
            {
                Status = OrderStatusEnum.PENDING
            };

            accessDal.AddOrder(newOrder);

            return(newOrder);
        }
Exemplo n.º 2
0
 public bool AddOrder(OrderViewModel model)
 {
     return(_orderDal.AddOrder(model));
 }
Exemplo n.º 3
0
 public bool AddOrder()
 {
     return(_orderDal.AddOrder(new OrderDto(Client.Id, Location, Creator.Id, Accu.Id, Info, Done)));
 }