예제 #1
0
 public FortunesRawMiddleware(RequestDelegate next, RawDb db, HtmlEncoder htmlEncoder)
 {
     _next        = next;
     _db          = db;
     _htmlEncoder = htmlEncoder;
 }
 public MultipleUpdatesRawMiddleware(RequestDelegate next, RawDb db)
 {
     _next = next;
     _db   = db;
 }
예제 #3
0
 public SingleQueryRawMiddleware(RequestDelegate next, RawDb db)
 {
     _next = next;
     _db   = db;
 }
예제 #4
0
 public async Task <IActionResult> Raw()
 {
     return(View("Fortunes", await RawDb.LoadFortunesRows()));
 }