Adding README
This commit is contained in:
parent
478ec77729
commit
02d8cc4097
|
@ -0,0 +1,7 @@
|
|||
namespace Blazor_DotNet8_MovieApp.Data
|
||||
{
|
||||
public class MovieReviewDbContext
|
||||
{
|
||||
|
||||
}
|
||||
}
|
|
@ -8,8 +8,8 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
<h1>@MovieItem?.Title</h1>
|
||||
<div class="row">
|
||||
<h1>@MovieItem?.Title</h1>
|
||||
<div class="col-6">
|
||||
<img style="width: 100%" src="@MovieItem?.ImageUrl" alt="@MovieItem?.Title"/>
|
||||
</div>
|
||||
|
@ -31,9 +31,10 @@ else
|
|||
{
|
||||
await Task.Delay(1000);
|
||||
|
||||
if (!string.IsNullOrEmpty(Id))
|
||||
if (Id != null)
|
||||
{
|
||||
MovieItem = MovieReviewService?.GetMovieById(Int32.Parse(Id));
|
||||
int? id = int.Parse(Id);
|
||||
MovieItem = MovieReviewService?.GetMovieById(id.Value);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
Author: Kira Lynn Jiroux
|
||||
Date: September 5, 2023
|
||||
|
||||
|
||||
QUICK NOTE:
|
||||
When running in VS, there is an issue with the browser certification,
|
||||
which causes security complications with the actual runtime. This is
|
||||
likely an issue with the Preview state of this DotNet version. However,
|
||||
to get around this issue and to be able to run the application, change
|
||||
the run to be from https -> http
|
Loading…
Reference in New Issue