HI
I am Getting the following error when using Rating component in Razden UI
The following code gets generated
code in *.razor.designer.cs
protected int Rating
{
get
{
return _Rating;
}
set
{
if(!object.Equals(_Rating, value))
{
_Rating = value;
InvokeAsync(() => { StateHasChanged(); });
}
}
}
protected async System.Threading.Tasks.Task Rating0Change(dynamic args)
{
Rating = args;
}
I get the following errors
dotnet: Pages\IssueBooks.razor(123,77): error CS0123: No overload for 'IssueBooksComponent.Rating0Change(dynamic)' matches delegate 'Func<int, Task>' [C:\Code\BookTrackV002\server\BookTrackV002.csproj]
obj\Debug\netcoreapp3.1\Razor\Pages\IssueBooks.razor.g.cs(441,175): error CS1662: Cannot convert lambda expression to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type [C:\Code\BookTrackV002\server\BookTrackV002.csproj]
dotnet: Pages\IssueBooks.razor(123,77): error CS0123: No overload for 'IssueBooksComponent.Rating0Change(dynamic)' matches delegate 'Func<int, Task>' [C:\Code\BookTrackV002\server\BookTrackV002.csproj]
obj\Debug\netcoreapp3.1\Razor\Pages\IssueBooks.razor.g.cs(441,175): error CS1662: Cannot convert lambda expression to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type [C:\Code\BookTrackV002\server\BookTrackV002.csproj]



