Пример #1
0
        public IActionResult ViewAnnouncement([FromRoute] Guid id)
        {
            var announcement = announcementsService.GetAnnouncementById(id);

            return(View(new ViewAnnouncementViewModel {
                Announcement = announcement
            }));
        }