I got a razor page, I got the following code that I'd like to translate to C# code.
@inject SignInManager<IdentityUser> SignInManager
@inject UserManager<IdentityUser> UserManager
How do I translate to C# code? Should I have it coded in the startup class and set it up like a service? If so, how do I code this?