Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

ViewResult and PartialViewResult classes are inconsistent #4813

Closed
@ivaylokenov

Description

@ivaylokenov

Currently, to get the model from a ViewResult, you have direct property .Model. On the other hand PartialViewResult does not have such property and to access the model, you need to write .ViewData?.Model. I believe both classes should be consistent in their public properties.

Metadata

Metadata

Assignees

Labels

3 - Donebugup-for-grabsMembers of our awesome commnity can handle this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions