public Task OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) { if (context.ActionDescriptor.EndpointMetadata.Any(m => m.GetType() == typeof(NoOprationLogAttribute))) { return(next()); } return(_logHandler.LogAsync(context, next)); }
public Task OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next) { return(_logHandler.LogAsync(context, next)); }