Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public IActionResult Vote(int Id, string Vote) { bool IsIncr = Vote == "up" ? true : false; postRepository.Change(Id, IsIncr); return(View("Posts", postRepository.ListPosts())); }