Merge pull request #6 from YaFlay/patch-2

Изменил свою тупейшую ошибку
This commit is contained in:
Mih4n
2023-10-16 19:08:42 +03:00
committed by GitHub

View File

@@ -67,8 +67,11 @@ const url = await sp.InitPayment(
``` ```
ИЛИ ИЛИ
```cs ```cs
PaymentData paymentData = JsonNode.Parse(Request.GetBody()); public async Task<IActionResult> GetCreatePaymentFunction([FromBody] PaymentData paymentData)
{
const url = await sp.InitPayment(paymentData); const url = await sp.InitPayment(paymentData);
// Ваша логика
}
``` ```
### Перевод АРов на другую карту ### Перевод АРов на другую карту
@@ -92,7 +95,7 @@ int balance = await sp.GetCardBalance();
```cs ```cs
User user = await sp.GetUser("111111111111111111"); User user = await sp.GetUser("111111111111111111");
if (user.GetName() == "Mih4n") if (user.Name == "Mih4n")
{ {
// ваша логика дааа // ваша логика дааа
} }