public ResponseMessageData <PropagateOrderModel> PosOrderByOrderToStoreId(long orderToStoreId)
        {
            using (_repository)
            {
                var order = _repository.GetPosOrderByOrderToStoreId(orderToStoreId);

                if (order == null)
                {
                    return(new ResponseMessageData <PropagateOrderModel>
                    {
                        IsSuccess = false,
                        Message = "No existe información de la orden"
                    });
                }

                var posCheck = _repository.GetPosCheckById(order.PosOrderId);

                if (posCheck == null)
                {
                    return(new ResponseMessageData <PropagateOrderModel>
                    {
                        IsSuccess = false,
                        Message = "No existe información del pedido"
                    });
                }

                posCheck.ConvertToDicPromos();

                var repositoryFranchise = new FranchiseRepository(_repository.Db);

                var model = new PropagateOrderModel
                {
                    Order     = order,
                    PosCheck  = posCheck,
                    Franchise = repositoryFranchise.GetFranchiseByCode(posCheck.FranchiseCode)
                };

                return(new ResponseMessageData <PropagateOrderModel>
                {
                    Data = model,
                    IsSuccess = true,
                    Message = String.Empty
                });
            }
        }