❔ Name "PostsService" does not exist in the current context

@using BlazorBookGroup.Data
. . .
private PostsService postsService = new();

protected override void OnInitialized() => posts = postsService.GetPosts();
@using BlazorBookGroup.Data
. . .
private PostsService postsService = new();

protected override void OnInitialized() => posts = postsService.GetPosts();
4 Replies
sea cryptid
sea cryptid2y ago
PostsService has
namespace BlazorBookGroup.Data
{
public class PostsService
namespace BlazorBookGroup.Data
{
public class PostsService
sea cryptid
sea cryptid2y ago
Thank you!
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts