public JsonResult GetErrorCollections() { ErrorCollectionbll bll = new ErrorCollectionbll(); IEnumerable <Question_ErrorCollection> errorCollections = bll.GetErrorCollections(loginId); return(Json(errorCollections, JsonRequestBehavior.AllowGet)); }