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)); }
public IActionResult Get() { return(Ok(_coreModelRepo.GetAll <object>())); }