Exemplo n.º 1
0
        public async Task OnGetAsync()
        {
            try
            {
                UserViewList = await _mUserService.GetAllAsync();
            }
            catch (Exception ex)
            {
                _logger.LogError("Error occured, {@ex}", ex);

                throw new Exception(ex.Message);
            }
        }