/// <returns>A task that represents the asynchronous operation</returns> public virtual async Task <IActionResult> Create() { if (!await _permissionService.AuthorizeAsync(StandardPermissionProvider.ManageSettings)) { return(AccessDeniedView()); } //prepare model var model = await _vendorAttributeModelFactory.PrepareVendorAttributeModelAsync(new VendorAttributeModel(), null); return(View(model)); }