public async Task <Dictionary <object, object> > GetChartsAsync(LogLevel level) { return(await logService.GetChartsAsync(level)); }
public async Task <IActionResult> Index() { var res = await logService.GetChartsAsync(JadeFramework.Core.Domain.Enum.LogLevel.Error); return(Json(res)); }