ปลด lock การกรอกคะแนน ให้กรอกได้อิสระ

This commit is contained in:
nakorn
2022-04-08 11:55:20 +07:00
parent 71f1906d79
commit 94bf0709d1
3 changed files with 13 additions and 13 deletions

View File

@@ -151,13 +151,13 @@ namespace TodoAPI2.Models
private (decimal?, decimal?) GetRangePercentage(List<eva_level_score_detailEntity> level_detail, decimal? score)
{
var item = (from i in level_detail
/*var item = (from i in level_detail
where i.min_value <= score && i.max_value >= score
select i).FirstOrDefault();
if (item != null)
{
return (item.min_percentage, item.max_percentage);
}
}*/
return (-100, 100);
}