Add drafts for Interface business and repository + DataContract presentation
This commit is contained in:
@@ -1,15 +1,8 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.AspNetCore.HttpsPolicy;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
|
||||
namespace skydiveLogs_api
|
||||
{
|
||||
@@ -26,6 +19,16 @@ namespace skydiveLogs_api
|
||||
public void ConfigureServices(IServiceCollection services)
|
||||
{
|
||||
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
|
||||
|
||||
// IoC
|
||||
//services.AddSingleton<IConfigurationRoot>(Configuration);
|
||||
//services.AddSingleton<Services.IGroupService, Services.GroupService>();
|
||||
//services.AddSingleton<Services.IUserService, Services.UserService>();
|
||||
//services.AddSingleton<Services.IPermissionService, Services.PermissionService>();
|
||||
|
||||
//services.AddScoped<Builder.IBuilderVmGroup, Builder.BuilderVmGroup>();
|
||||
//services.AddScoped<Builder.IBuilderVmUser, Builder.BuilderVmUser>();
|
||||
//services.AddScoped<Builder.IBuilderVmPermission, Builder.BuilderVmPermission>();
|
||||
}
|
||||
|
||||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||
|
||||
Reference in New Issue
Block a user