19 lines
372 B
C#
19 lines
372 B
C#
using Microsoft.AspNetCore.Components;
|
|
using MP.SPEC.Data;
|
|
using System.Reflection;
|
|
|
|
namespace MP.SPEC.Pages
|
|
{
|
|
public partial class Utils
|
|
{
|
|
[Inject]
|
|
protected MpDataService MDService { get; set; }
|
|
|
|
public async Task flushCache()
|
|
{
|
|
await Task.Delay(1);
|
|
await MDService.FlushRedisCache();
|
|
}
|
|
}
|
|
}
|