Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override void Process(TagHelperContext context, TagHelperOutput output)
- if(_roleService.CanRegisterAsync().Result)
- {
- output.SuppressOutput();
- }
- public override async void Process(TagHelperContext context, TagHelperOutput output)
- if(await _roleService.CanRegisterAsync())
- {
- output.SuppressOutput();
- }
- public override async Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
- {
- if(await _roleService.CanRegisterAsync())
- {
- output.SuppressOutput();
- }
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement