Skip to content

Commit

Permalink
Small change to Web App
Browse files Browse the repository at this point in the history
- Change image name to fit the content of specialty
- delete unnecessary line of code
  • Loading branch information
hoapooh committed Jul 21, 2024
1 parent 413ea72 commit e2cc208
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public async Task<IActionResult> Index()
[HttpGet]
public async Task<IActionResult> NewsDetail(int newsID)
{
await Console.Out.WriteLineAsync($"NewsID = {newsID}");
var news = await _context.News.FirstOrDefaultAsync(c => c.ID == newsID);
string? content = news?.Content;
ViewBag.News = news;
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e2cc208

Please sign in to comment.