Beispiel #1
0
        public async Task <List <Notice> > GetPosts(int page, PostType postType = PostType.All)
        {
            var userId = User.FindFirstValue(ClaimTypes.NameIdentifier);
            var resp   = await _noticeService.GetRecentNotice(page, userId);

            return(resp);
        }