enrique_aeo
asked on
orderby list (from Json)
hi experts
i have this list
public class SAPArea
{
public string CodDivision { get; set; }
public string CodArea { get; set; }
public string Nombre { get; set; }
}
public ActionResult ListarAreas()
{
List<SAPArea> lista = new List<SAPArea>();
lista = oPORTCliente.Get<List<SAPA rea>>(stri ng.Format( "area/busc arArea?cod Division={ 0}&codArea ={1}&nombr e={2}", Constantes.CodDivision, string.Empty, string.Empty));
return Json(new { result = 0, data = lista }, JsonRequestBehavior.AllowG et);
}
I need to sort the list by Nombre
www.png
i have this list
public class SAPArea
{
public string CodDivision { get; set; }
public string CodArea { get; set; }
public string Nombre { get; set; }
}
public ActionResult ListarAreas()
{
List<SAPArea> lista = new List<SAPArea>();
lista = oPORTCliente.Get<List<SAPA
return Json(new { result = 0, data = lista }, JsonRequestBehavior.AllowG
}
I need to sort the list by Nombre
www.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.