public IActionResult Index()
        {
            var model = _coreAppModelService.GetAll <CoreAppViewModel>().ToList();

            _logger.LogError($"THis log comes from {this.GetType()} and has a httpcontext = {HttpContext.Request.Path}");

            return(View(model));
        }
Exemple #2
0
 public IActionResult Get()
 {
     return(Ok(_coreModelRepo.GetAll <object>()));
 }