public ActionResult GetListEnCode(string enCode) { if (string.IsNullOrWhiteSpace(enCode)) { throw new ArgumentNullException("enCode"); } var data = itemsDetailApp.GetListEnCode(enCode); return(Content(data.ToJson())); }