Example #1
0
 public IActionResult AddRole(RoleInfo role, int[] subMenu)
 {
     role.CreateTime = DateTime.Now;
     _RoleInfoService.AddRole(role, out string msg, subMenu);
     return(RedirectToAction("RoleList"));
 }