示例#1
0
        public async Task <IActionResult> UserAddPopup(int storeId)
        {
            if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageUserStore))
            {
                return(AccessDeniedView());
            }

            var model = await _storeModelFactory.PrepareAddUserToStoreSearchModel(new AddUserToStoreSearchModel());

            return(View(model));
        }