public JsonResult GetBusinessPartner() { DropDownListsRepository model = new DropDownListsRepository(); return Json(model.GetBusinessPartner().OrderBy(o => o.Name).Select(c => new { BusinessPartnerID = c.ID, BusinessPartner = c.Name }).OrderBy(o => o.BusinessPartner), JsonRequestBehavior.AllowGet); }