From 61a1702cf82dc67f8c95170c9bf44d82e672638f Mon Sep 17 00:00:00 2001 From: msanlisavas <80029111+msanlisavas@users.noreply.github.com> Date: Mon, 1 Jul 2024 17:10:16 +0300 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7c38313..d23388f 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,7 @@ var blockData = await restClient.Mainnet.Block.GetBlockAsync("block-hash"); "ApiKey": "your-api-key" } ``` - +#### Startup.cs ``` context.Services.AddSingleton(resolver => { @@ -111,7 +111,7 @@ var blockData = await restClient.Mainnet.Block.GetBlockAsync("block-hash"); return new CasperCloudRestClient(new CasperCloudClientConfig(apiKey)); }); ``` -Then call using di +#### Then call using di ``` public class IndexModel : PageModel {