Exemplo n.º 1
0
        public JsonResult AddPurchase(int ReceiptStorageId, int ReceiptStoreId, bool WithoutMoney = false)
        {
            var ispay = _storeContract.View(ReceiptStoreId).StoreType.IsPay;

            OperationResult oper = _storeCartContract.AddPurchase(ReceiptStorageId, ReceiptStoreId, !ispay);

            return(Json(oper));
        }