update to .net 9
This commit is contained in:
parent
e8feedb979
commit
48a11be7b7
9 changed files with 99 additions and 173 deletions
|
|
@ -24,8 +24,10 @@ public class RedisService(Config config)
|
|||
config.Database.Redis!
|
||||
);
|
||||
|
||||
private readonly JsonSerializerOptions _options =
|
||||
new() { PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower };
|
||||
private readonly JsonSerializerOptions _options = new()
|
||||
{
|
||||
PropertyNamingPolicy = JsonNamingPolicy.SnakeCaseLower,
|
||||
};
|
||||
|
||||
public IDatabase GetDatabase(int db = -1) => _multiplexer.GetDatabase(db);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue