public string ItemSampleUpdateSampleInfo(UpdateSampleInfo updateSampleInfo)
        {
            string token = Request.Headers.Authorization.ToString();
            int    valid = new ExceptionHandler().TokenCheck(token);

            if (valid == 0)
            {
                return("Token has expired");
            }
            if (valid == -1)
            {
                return("Token has invalid signature");
            }
            int ret = repository.ItemSampleUpdateSampleInfo(pclsCache, updateSampleInfo.ObjectNo, updateSampleInfo.ObjCompany, updateSampleInfo.NewObjIncuSeq, updateSampleInfo.SamplingPeople, updateSampleInfo.SamplingTime, updateSampleInfo.Status, updateSampleInfo.TerminalIP, updateSampleInfo.TerminalName, updateSampleInfo.revUserId);

            return(new ExceptionHandler().UpdateData(Request, ret));
        }