public async Task <IActionResult> SlowestEndpointAsync([FromServices] IEasyProfilerBaseService <ProfilerPostgreSqlDbContext> baseService) { return(Ok(await baseService.GetSlowestEndpointsAsync())); }
public EasyProfilerInterceptors(IEasyProfilerBaseService <ProfilerDbContext> baseService, IHttpContextAccessor httpContextAccessor) { this.baseService = baseService; this.httpContextAccessor = httpContextAccessor; }
public async Task <IActionResult> AdvancedFilterForEasyProfilerAsync([FromQuery] AdvancedFilterModel model, [FromServices] IEasyProfilerBaseService <ProfilerPostgreSqlDbContext> baseService) { return(Ok(await baseService.AdvancedFilterAsync(model))); }