/// <summary> /// Post method to get category by the super category selection /// </summary> /// <param name="SuperCategoryId"></param> /// <returns></returns> public JsonResult GetAllCategory(int SuperCategoryId) { IEnumerable <ACM.Model.Category> category = campaignServiceClient.GetCategoryById(SuperCategoryId); Category category1 = new Category(); List <ACM.Model.Category> lst = new List <Category>(); SelectList supercategory = new SelectList(category, "CategoryID", "CategoryName"); return(Json(supercategory)); }