Update razor.md
parent
02aa606eb6
commit
3016c23949
|
@ -437,7 +437,7 @@ For example, if you create an ASP.NET Core MVC app with individual user accounts
|
||||||
@model LoginViewModel
|
@model LoginViewModel
|
||||||
```
|
```
|
||||||
|
|
||||||
In the class example in , the class generated inherits from `RazorPage<dynamic>`. By adding an `@model` you control what’s inherited. For example
|
In the preceding class example, the class generated inherits from `RazorPage<dynamic>`. By adding an `@model` you control what’s inherited. For example
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
@model LoginViewModel
|
@model LoginViewModel
|
||||||
|
|
Loading…
Reference in New Issue