How to call api method from child to parant razor component in Blazor webassembly

Kuldeep Y 36 Reputation points
2022-04-22T13:02:27.287+00:00

Hii,
i am getting some error when i call api from chilld razor component to parant razor component using Parameter Attribute but the HttpClient object goes null that time and i am not getting the api response 195622-screenshot-125.png195530-screenshot-126.png195586-screenshot-127.png195614-screenshot-128.png

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,398 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,288 questions
{count} votes