Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Anson.G authored and Anson.G committed May 11, 2022
1 parent 9769f51 commit 4fdc6dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public virtual User Single(string id)
**********************************
```

##☀️ Use in Controller
## ☀️ Use in Controller
```C#
// Program.cs
var builder = WebApplication.CreateBuilder(args);
Expand Down Expand Up @@ -153,7 +153,7 @@ After the method is successfully executed, the setup cache will be invalidated,
and finally the Cacheable operation will be executed.

STEP:
1. When "user:id" = 123
1. When "user:id" = "123"
2. Then Evict cache: "user-single:123"
3. Then After updated will caching: "user-single:123" -> { latest user data }

Expand Down

0 comments on commit 4fdc6dc

Please sign in to comment.