Kizspy | Question: 37
(Choose 1 answer)
How do you inject a service into a Razor PageModel?
A. By directly creating an instance of the service.
B. By adding the service as a constructor parameter.
C. By using global variables.
D. By using static methods.