Compare commits

...

2 Commits

@ -212,7 +212,7 @@ namespace OpenAuth.WebApi.Controllers
try
{
result.Result = BuildModelTree(_authStrategyContext.Modules
.WhereIF(!string.IsNullOrEmpty(typeid), a => a.ModuleTypeId == typeid));
.WhereIF(!string.IsNullOrEmpty(typeid), a => a.ModuleTypeId == typeid).OrderBy(a=>a.SortNo));
/*result.Result = _authStrategyContext.Modules
.WhereIF(!string.IsNullOrEmpty(typeid), a => a.ModuleTypeId == typeid)
.OrderBy(a => a.SortNo)

Loading…
Cancel
Save