public Order AddOrder() { var newOrder = new Order() { Status = OrderStatusEnum.PENDING }; accessDal.AddOrder(newOrder); return(newOrder); }
public bool AddOrder(OrderViewModel model) { return(_orderDal.AddOrder(model)); }
public bool AddOrder() { return(_orderDal.AddOrder(new OrderDto(Client.Id, Location, Creator.Id, Accu.Id, Info, Done))); }