Movie Detail (#3)
* Implemented Movie Detail * Implemented basic favorites Reviewed-on: #3 Co-authored-by: Berack96 <giacomobertolazzi7@gmail.com> Co-committed-by: Berack96 <giacomobertolazzi7@gmail.com>
This commit was merged in pull request #3.
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
using test_alebro.Components;
|
||||
using Blazored.LocalStorage;
|
||||
|
||||
var builder = WebApplication.CreateBuilder(args);
|
||||
|
||||
// Add services to the container.
|
||||
builder.Services.AddRazorComponents()
|
||||
.AddInteractiveServerComponents();
|
||||
builder.Services.AddBlazoredLocalStorage();
|
||||
|
||||
// Mine services
|
||||
builder.Services.AddSingleton<OmdbService>();
|
||||
builder.Services.AddScoped<ManageFavorite>();
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user