C#C
C#3y ago
Alberto

❔ Very easy question, about classes

Hi all, Im very new in Blazor, Im just doing a test for a company, if I pass it, they could be hiring me!

Im this app I should use Blazor and make a service class for calling the API. Just calling a web that gives posts in a array.
Then this class should be used by a Blazor component and show a table. Im actually doing everything inside a Blazor component and works well.
My problem is how to separate everything, do I need a model for Post? How are the files separated?
Mind that I come from JS and we do everything classless.

(I can pay for support for the test)
image.png
Was this page helpful?