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