public JsonResult GetbyMachineTypeID(string MachineID, string BatchNo) { //ConditionSettingDB conditionSettingDB = new ConditionSettingDB(); check ConditionSettingDB conditionSettingDB = new ConditionSettingDB(); ReturnConditionSetting _returnConditionSetting = new ReturnConditionSetting(); _returnConditionSetting = conditionSettingDB.GetbyMachineTypeID(MachineID, BatchNo); return(Json(_returnConditionSetting, JsonRequestBehavior.AllowGet)); }