// GET: Admin/UserDetail
        public ActionResult Index()
        {
            UserDetailBLL objUserDetailBll = new UserDetailBLL();
            var           list             = objUserDetailBll.GetAllUserInfo().ToList();

            return(View(list));
        }
Beispiel #2
0
        public ActionResult Save(int userDetailId = 0, int roleId = 0)
        {
            UserDetailBLL objUserDetailBll = new UserDetailBLL();

            ViewBag.UserInfo = objUserDetailBll.GetAllUserInfo();

            RoleManagementBLL objRoleManagementBll = new RoleManagementBLL();

            ViewBag.RoleInfo = objRoleManagementBll.GetRoleListForDropDownForSave();

            NavigationBLL objNavigationBll = new NavigationBLL();
            var           menu             = objNavigationBll.GetAllMenuForUserMenuMapping(userDetailId, roleId);

            return(View(menu));
        }