public IActionResult Write() { var message = $"GUID: {Guid.NewGuid()}"; _dependency.WriteMessage(message); return(Ok()); }
public async Task OnGetAsync() { await _dependency.WriteMessage( "IndexModel.OnGetAsync created this message."); }
public void message() { _dependency.WriteMessage("IndexModel.OnGet created this message."); }
public void OnGet() { _dependency.WriteMessage("IndexModel.OnGet"); }