私は次のものを持っています:
var topRole = 25;
var menuItems = _contentRepository.GetPk()
.Where(m => m.Status <= topRole)
.OrderBy(m => m.Order)
.Select(m => new MenuItem
ステータスの値は「00」、「05」、または「10」です。
m.Statusを整数に変換してから比較して、topRole以下かどうかを確認する方法はありますか?