예제 #1
0
 public IActionResult Get()
 {
     _logger.LogInformation("Calling itemsGet");
     return(Ok(_listItems.ListAllItem()));
 }
예제 #2
0
 public ActionResult <IEnumerable <string> > Get()
 {
     //var logger = _loggerFactory.CreateLogger("itemsGet");
     //logger.LogInformation("Calling itemsGet");
     return(Ok(_listItems.ListAllItem()));
 }