public JsonResult AuditReasonList() { List <Aud_AdjustmentReasonCodes> newItemAdjustmentReason = new List <Aud_AdjustmentReasonCodes>(); newItemAdjustmentReason = inventoryDal.CollectionAdjustMentReasons(Helper.ReasonPurposeForCollection[0], Helper.ReasonPurposeForCollection[1], Helper.ReasonForUserOrAuditor, Helper.ForSales); ArrayList arr = new ArrayList(); foreach (Aud_AdjustmentReasonCodes auditReason in newItemAdjustmentReason) { arr.Add(new { Value = auditReason.ReasonCode, Display = auditReason.ReasonDescription }); } return(new JsonResult { Data = arr }); }