public object ItemIncubatorGetIncubatorsInfoByAnyProperty(QueryIncubatorInfo queryIncubatorInfo) { 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"); } return(repository.ItemIncubatorGetIncubatorsInfoByAnyProperty(pclsCache, queryIncubatorInfo.IncubatorId, queryIncubatorInfo.ProductDayS, queryIncubatorInfo.ProductDayE, queryIncubatorInfo.EquipPro, queryIncubatorInfo.InsDescription, queryIncubatorInfo.ReDateTimeS, queryIncubatorInfo.ReDateTimeE, queryIncubatorInfo.ReTerminalIP, queryIncubatorInfo.ReTerminalName, queryIncubatorInfo.ReUserId, queryIncubatorInfo.ReIdentify, queryIncubatorInfo.GetProductDay, queryIncubatorInfo.GetEquipPro, queryIncubatorInfo.GetInsDescription, queryIncubatorInfo.GetRevisionInfo)); }