Exemplo n.º 1
0
        public ActionResult LoadListMenuByIdUserLogin(int idMember, int idrole)
        {
            ViewBag.id = idMember;

            int userid   = user.Id;
            int roleid   = user.Roleid;
            int branchId = user.BranchId;

            var db     = new RoleBusiness();
            var result = db.ListMenuByIdUserLogin(roleid, userid, branchId, idMember, idrole);

            return(PartialView(result));
        }