public JsonResult GetbyMachinePattern(string lineID, string machineID, string patternCode) { ConditionSettingDB conditionSettingDB = new ConditionSettingDB(); ReturnConditionSetting _returnConditionSetting = new ReturnConditionSetting(); _returnConditionSetting = conditionSettingDB.GetbyMachinePattern(lineID, machineID, patternCode); return(Json(_returnConditionSetting, JsonRequestBehavior.AllowGet)); }