1.3 KiB
1.3 KiB
title | author | description | ms.author | manager | ms.date | ms.topic | ms.technology | ms.prod | uid |
---|---|---|---|---|---|---|---|---|---|
Controller methods and views | rick-anderson | Working with controller methods, views and DataAnnotations | riande | wpickett | 04/07/2017 | get-started-article | aspnet | asp.net-core | tutorials/first-mvc-app-xplat/controller-methods-views |
Controller methods and views
We have a good start to the movie app, but the presentation isn't ideal. We don't want to see the time (12:00:00 AM in the image below) and ReleaseDate should be two words.
Open the Models/Movie.cs file and add the highlighted lines shown below:
[!code-csharpMain]
Build and run the app.
[!INCLUDEadding-model]
[!div class="step-by-step"] Previous - Working with SQLite Next - Add search