public IActionResult Author(string authorId, string searchString, int?page) { var actionResult = homeBusinessManager.GetAuthorViewModel(authorId, searchString, page); if (actionResult.Result is null) { return(View(actionResult.Value)); } return(actionResult.Result); }
public IActionResult Author(string authorid, string searchstring, int?page) { var actionResult = homeBusinessManager.GetAuthorViewModel(authorid, searchstring, page); if (actionResult.Result is null) { return(View(actionResult.Value)); } _logger.LogInformation("HomeController: Author OK"); return(actionResult.Result); }