Michele: ordinamento lista per sequenza e poi per committente
This commit is contained in:
parent
43b8cf0ae5
commit
c9bbba3548
@ -104,7 +104,7 @@ namespace SoftwayWeb.Controllers
|
|||||||
{
|
{
|
||||||
string dato = response.Content.ReadAsStringAsync().Result;
|
string dato = response.Content.ReadAsStringAsync().Result;
|
||||||
modelList = JsonConvert.DeserializeObject<List<Destinazioni_Out>>(dato);
|
modelList = JsonConvert.DeserializeObject<List<Destinazioni_Out>>(dato);
|
||||||
modelList = modelList.Where(x => x.serialeGiro == id).ToList();
|
modelList = modelList.Where(x => x.serialeGiro == id).OrderBy(x=> x.Seq).ThenBy(x => x.Committente).ToList();
|
||||||
|
|
||||||
if (page != null && page < 1)
|
if (page != null && page < 1)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user