Example #1
0
        public async Task <ActionResult> Submit(RoleMenusView[] selectmenus)
        {
            await _roleMenuService.AuthorizeAsync(selectmenus);

            await _unitOfWork.SaveChangesAsync();

            return(Json(new { success = true }, JsonRequestBehavior.AllowGet));
        }