Learn about building Web apps with ASP.NET Core.
8 |Use this page to detail your site's privacy policy.
7 | -------------------------------------------------------------------------------- /BankTransactions/Views/Shared/Error.cshtml: -------------------------------------------------------------------------------- 1 | @model ErrorViewModel 2 | @{ 3 | ViewData["Title"] = "Error"; 4 | } 5 | 6 |
12 | Request ID: @Model.RequestId
13 |
18 | Swapping to Development environment will display more detailed information about the error that occurred. 19 |
20 |21 | The Development environment shouldn't be enabled for deployed applications. 22 | It can result in displaying sensitive information from exceptions to end users. 23 | For local debugging, enable the Development environment by setting the ASPNETCORE_ENVIRONMENT environment variable to Development 24 | and restarting the app. 25 |
26 | -------------------------------------------------------------------------------- /BankTransactions/Views/Shared/_Layout.cshtml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |14 | @Html.DisplayNameFor(model => model.AccountNumber) 15 | | 16 |17 | @Html.DisplayNameFor(model => model.BeneficiaryName) 18 | | 19 |20 | @Html.DisplayNameFor(model => model.Date) 21 | | 22 |23 | @Html.DisplayNameFor(model => model.Amount) 24 | | 25 |26 | 27 | New 28 | 29 | | 30 |
---|---|---|---|---|
37 | @Html.DisplayFor(modelItem => item.AccountNumber) 38 | | 39 |40 | @Html.DisplayFor(modelItem => item.BeneficiaryName) 41 | | 42 |43 | @Html.DisplayFor(modelItem => item.Date) 44 | | 45 |46 | @Html.DisplayFor(modelItem => item.Amount) 47 | | 48 |49 | 60 | | 61 |