1.4 KiB
1.4 KiB
title | author | description | keywords | ms.author | manager | ms.date | ms.topic | ms.assetid | ms.technology | ms.prod | uid |
---|---|---|---|---|---|---|---|---|---|---|---|
Controller methods and views | Microsoft Docs | rick-anderson | Working with controller methods, views and DataAnnotations | ASP.NET Core, | riande | wpickett | 04/07/2017 | get-started-article | c7313211-bb71-4adf-babe-8e72603cc0ce | 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 is not 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