public bool ifCollected()
        {
            var getitems = (User.FindFirst(ClaimTypes.NameIdentifier).Value == null) ? false : _PictureInfoService.ifCollected(User.FindFirst(ClaimTypes.NameIdentifier).Value, thisWorkInfo.work_id);

            return(getitems);
        }
        public Task <bool> ifCollected()
        {
            var getitems = _PictureInfoService.ifCollected(User.FindFirst(ClaimTypes.NameIdentifier).Value, getwork_ID);

            return(getitems);
        }