Factories and Views
This commit is contained in:
parent
4e7dfc56a8
commit
2529b728ba
16 changed files with 188 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
|||
using InkForge.Common.Controllers;
|
||||
using InkForge.Common.Data;
|
||||
using InkForge.Common.ViewModels;
|
||||
using InkForge.Common.ViewModels.Landing;
|
||||
using InkForge.Common.Views;
|
||||
using InkForge.Data;
|
||||
|
||||
|
|
@ -16,6 +17,8 @@ public static class InkForgeServiceCollections
|
|||
|
||||
services.AddDbContextFactory<NoteDbContext, NoteDbContextFactory>();
|
||||
|
||||
services.AddSingleton<LandingViewModel>();
|
||||
services.AddSingleton<LandingViewModelFactory>();
|
||||
services.AddSingleton<WorkspaceController>();
|
||||
|
||||
services.AddTransient<IViewFor<LandingViewModel>, LandingView>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue