1.3 KiB
1.3 KiB
title | author | description | manager | ms.author | ms.date | ms.prod | ms.technology | ms.topic | uid |
---|---|---|---|---|---|---|---|---|---|
Controller methods and views | rick-anderson | Working with controller methods, views and DataAnnotations | wpickett | riande | 04/07/2017 | asp.net-core | aspnet | get-started-article | 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