public async Task <IActionResult> AddOrModify(int iPageId) { List <DataTable> lstDataTable = await _dataTableService.SelectALLAsync(); List <DataType> lstDataType = await _dataTypeService.SelectALLAsync(); ViewBag.lstDataTable = lstDataTable; ViewBag.lstDataType = lstDataType; return(Edit(iPageId)); }