public bool ifEnoughPoints()
        {
            var getitems = _PictureInfoService.ifEnoughPoints(thisWorkInfo.work_id, User.FindFirst(ClaimTypes.NameIdentifier).Value);

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

            return(getitems);
        }