Esempio n. 1
0
 public void AddMiddleware(IWebMiddleware middleware)
 {
     _middlewareStack.Use(next => req => middleware.Handle(req, next));
     // middleware.Use(
     //     next => req =>
     //     {
     //         return next(req);
     //     }
     // );
 }