79355230

Date: 2025-01-14 13:58:26
Score: 1.5
Natty:
Report link

Did you mean:

@model TeamModel

instead of:

@inject TeamModel

? @inject means you want to register a dependency with DI container and then DI container provides the dependency at run time. @model means there's a linked class that is supplying values for your razor page to use.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you mean
  • Low reputation (0.5):
Posted by: jaros