public IActionResult GetOptions() { var typesWithPerformMethod = _typeResolver.FindByMethodName(nameof(Handler.PerformAsync)); var taskTypeNames = typesWithPerformMethod .Where(x => !x.IsInterface && !x.IsAbstract) .Select(x => x.Name); return(Ok(new BackgroundTaskOptionsView { Options = _options.CurrentValue, TaskTypes = taskTypeNames })); }