public bool ifFollowed() { var getitems = (User.FindFirst(ClaimTypes.NameIdentifier).Value == null) ? false : _PictureInfoService.ifFollowed(User.FindFirst(ClaimTypes.NameIdentifier).Value, thisWorkInfo.work_id); return(getitems); }
public Task <bool> ifFollowed() { var getitems = _PictureInfoService.ifFollowed(User.FindFirst(ClaimTypes.NameIdentifier).Value, getwork_ID); return(getitems); }