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