public JsonResult GetSysTableValues(string SysTableName) { SysTableCommonManager sysTableManager = new SysTableCommonManager(); return Json(sysTableManager.GetSystemTable(SysTableName, (InfoPipe)HttpContext.Session["InfoPipe"], true, true)); }
public ActionResult ValidateDatabase() { SysTableCommonManager sysTableCommonManager = new SysTableCommonManager(); return Json(sysTableCommonManager.ValidateDatabase(((InfoPipe)HttpContext.Session["InfoPipe"]))); }
//[HttpPost] //public ActionResult GetFieldGroupsMappedWithContractType(long fieldGroupId) //{ //} public ActionResult GetAllEntities() { InfoPipe infoPipe = (InfoPipe)HttpContext.Session["InfoPipe"]; try { List<SysTableEntryBaseOfBase> EntityListItems = new SysTableCommonManager().GetEntityTable(EntityTables.Entities, infoPipe, true, true); List<EntitiesDto> lstEntities = EntitiesDto.CreateListFromSysTableEntryBase(EntityListItems.Cast<ContractType>().ToList()); return Json(lstEntities); } catch (Exception) { throw; } }