public async void OnGetAsync() { ButtonPass = await _adminApplication.GetButtonPassByAdminId(AdminDto.Id, ViewData["MenuCode"].ToString()); }
public async Task <IActionResult> OnGetAsync() { ButtonPass = await _adminApplication.GetButtonPassByAdminId(AdminDto.Id, ViewData["MenuCode"].ToString()); return(Page()); }