Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. public class ArticleController : Controller
  2. {
  3. public IActionResult ShowArticle(int articleId)
  4. {
  5.  
  6. return View(new ArticleModel { Id = articleId, Name = "Dapper.NET", Content = "Текст статьи" });
  7. }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement