Exemplo n.º 1
0
        public virtual async Task <IActionResult> List()
        {
            if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageStores))
            {
                return(AccessDeniedView());
            }

            //prepare model
            var model = await _storeModelFactory.PrepareStoreSearchModelAsync(new StoreSearchModel());

            return(View(model));
        }