public async Task <IActionResult> Detail([FromQuery] MessageViewModel model) { ViewBag.Message = model; ViewBag.FIELDS = FIELDS; var result = await logWriter.List(model.Project, model.Label, model.Keyword, model.Page, model.PageSize); return(View(result)); }
public async Task List() { var result = await writer.List("TomatoLog-Server", "Error"); Assert.NotNull(result); }