示例#1
0
 /// <summary>
 /// Method to return main view
 /// </summary>
 /// <returns>View</returns>
 public IActionResult Index()
 {
     ViewBag.UserList         = SelectionList.UserList().Select(x => new { x.UserId, x.Name });
     ViewBag.ScreenList       = SelectionList.ScreenList().Select(x => new { x.TableName, x.ScreenName });
     ViewBag.EntityActionList = SelectionList.EntityActionList();
     return(View());
 }