Skip to content

Commit 992acd3

Browse files
authored
Merge pull request #36970 from dotnet/main
Merge to Live
2 parents 1eac8dd + 1683561 commit 992acd3

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace MvcMovie.Models;
2+
3+
public class ErrorViewModel
4+
{
5+
public string? RequestId { get; set; }
6+
7+
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
8+
}

aspnetcore/tutorials/first-mvc-app/start-mvc/sample/MvcMovie10/Models/SeedDataRating.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#define SeedRating
2-
#if SeedRating
1+
#if SeedRating
32

43
using Microsoft.EntityFrameworkCore;
54
using Microsoft.Extensions.DependencyInjection;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace MvcMovie.Models;
2+
3+
public class ErrorViewModel
4+
{
5+
public string? RequestId { get; set; }
6+
7+
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
8+
}

aspnetcore/tutorials/first-mvc-app/start-mvc/sample/MvcMovie90/Models/SeedDataRating.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
#define SeedRating
2-
#if SeedRating
1+
#if SeedRating
32

43
using Microsoft.EntityFrameworkCore;
54
using Microsoft.Extensions.DependencyInjection;

0 commit comments

Comments
 (0)