public JsonResult GetProfileByIdAnCutOffId(int id, int cutOffId) { string status = string.Empty; var service = new Hre_ProfileServices(); var hre = service.GetAllUseEntity<Hre_ProfileEntity>(ref status); var result = hre.Select(item => new Hre_ProfileSelectModel() { ID = item.ID, ProfileName = item.ProfileName }); return Json(result, JsonRequestBehavior.AllowGet); }