Пример #1
0
 public IActionResult AllPosts(bool flag)
 {
     if (flag)
     {
         return(View(_publicationService.AllPostIsFavorite()));
     }
     else
     {
         return(View(_publicationService.AllPost()));
     }
 }