コード例 #1
0
        public bool ifFollowed()
        {
            var getitems = (User.FindFirst(ClaimTypes.NameIdentifier).Value == null) ? false : _PictureInfoService.ifFollowed(User.FindFirst(ClaimTypes.NameIdentifier).Value, thisWorkInfo.work_id);

            return(getitems);
        }
コード例 #2
0
        public Task <bool> ifFollowed()
        {
            var getitems = _PictureInfoService.ifFollowed(User.FindFirst(ClaimTypes.NameIdentifier).Value, getwork_ID);

            return(getitems);
        }