示例#1
0
        public IActionResult Write()
        {
            var message = $"GUID: {Guid.NewGuid()}";

            _dependency.WriteMessage(message);

            return(Ok());
        }
示例#2
0
 public async Task OnGetAsync()
 {
     await _dependency.WriteMessage(
         "IndexModel.OnGetAsync created this message.");
 }
示例#3
0
 public void message()
 {
     _dependency.WriteMessage("IndexModel.OnGet created this message.");
 }
示例#4
0
 public void OnGet()
 {
     _dependency.WriteMessage("IndexModel.OnGet");
 }