project structure and namespaces
This commit is contained in:
+3
-3
@@ -1,8 +1,8 @@
|
||||
namespace LaaProductionWeb.Services
|
||||
namespace LaaProduction.Services
|
||||
{
|
||||
using LaaProductionSQL.Interfaces;
|
||||
using LaaProductionWeb.Services.Interfaces;
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProduction.Services.Interfaces;
|
||||
using LaaProduction.Services.Models;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
namespace LaaProductionWeb.Services
|
||||
namespace LaaProduction.Services
|
||||
{
|
||||
using LaaProductionSQL.Interfaces;
|
||||
using LaaProductionWeb.Services.Interfaces;
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProduction.Services.Interfaces;
|
||||
using LaaProduction.Services.Models;
|
||||
|
||||
public class ApprovalsService : IApprovalsService
|
||||
{
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
namespace LaaProductionWeb.Services.Interfaces
|
||||
namespace LaaProduction.Services.Interfaces
|
||||
{
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProduction.Services.Models;
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
namespace LaaProductionWeb.Services.Interfaces
|
||||
namespace LaaProduction.Services.Interfaces
|
||||
{
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProduction.Services.Models;
|
||||
|
||||
public interface IApprovalsService
|
||||
{
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
namespace LaaProductionWeb.Services.Interfaces
|
||||
namespace LaaProduction.Services.Interfaces
|
||||
{
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProduction.Services.Models;
|
||||
|
||||
using System.Threading.Tasks;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Interfaces
|
||||
namespace LaaProduction.Services.Interfaces
|
||||
{
|
||||
using System;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
namespace LaaProductionWeb.Services.Interfaces
|
||||
namespace LaaProduction.Services.Interfaces
|
||||
{
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProduction.Services.Models;
|
||||
|
||||
public interface IOrdersService
|
||||
{
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
namespace LaaProductionWeb.Services.Interfaces
|
||||
namespace LaaProduction.Services.Interfaces
|
||||
{
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProductionWeb.Services.Models.Reports;
|
||||
using LaaProduction.Services.Models;
|
||||
using LaaProduction.Services.Models.Reports;
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
namespace LaaProductionWeb.Services.Interfaces
|
||||
namespace LaaProduction.Services.Interfaces
|
||||
{
|
||||
using LaaProductionWeb.Services.Models.Reports;
|
||||
using LaaProduction.Services.Models.Reports;
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
namespace LaaProductionWeb.Services.Interfaces
|
||||
namespace LaaProduction.Services.Interfaces
|
||||
{
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProduction.Services.Models;
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
namespace LaaProductionWeb.Services.Interfaces
|
||||
namespace LaaProduction.Services.Interfaces
|
||||
{
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProduction.Services.Models;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public interface IShipmentsService
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
namespace LaaProductionWeb.Services.Interfaces
|
||||
namespace LaaProduction.Services.Interfaces
|
||||
{
|
||||
using LaaProductionWeb.Services.Models.Software;
|
||||
using LaaProduction.Services.Models.Software;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
+2
-2
@@ -7,8 +7,8 @@
|
||||
<ProjectGuid>{FF167011-431A-41A7-A7DB-560E08860388}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>LaaProductionWeb.Services</RootNamespace>
|
||||
<AssemblyName>LaaProductionWeb.Services</AssemblyName>
|
||||
<RootNamespace>LaaProduction.Services</RootNamespace>
|
||||
<AssemblyName>LaaProduction.Services</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
namespace LaaProductionWeb.Services
|
||||
namespace LaaProduction.Services
|
||||
{
|
||||
using LaaProductionSQL.Interfaces;
|
||||
using LaaProductionWeb.Services.Interfaces;
|
||||
using LaaProduction.Services.Interfaces;
|
||||
|
||||
using System;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
public class OrderClientModel
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
public class OrderIdentity
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
public class CordonelPressureSensorFilter : ReportFilter
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
public class HeliumPressurePoint
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
public partial class HeliumReportFilter : ReportFilter
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
public class KottmannReportFilter : ReportFilter
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
public enum PropertyType
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
public class ReportFilterProperty
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Reports
|
||||
namespace LaaProduction.Services.Models.Reports
|
||||
{
|
||||
public class TestStatus
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
public class Result
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Search
|
||||
namespace LaaProduction.Services.Models.Search
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
public class SerialNr
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models
|
||||
namespace LaaProduction.Services.Models
|
||||
{
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Software
|
||||
namespace LaaProduction.Services.Models.Software
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Software
|
||||
namespace LaaProduction.Services.Models.Software
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Software
|
||||
namespace LaaProduction.Services.Models.Software
|
||||
{
|
||||
public class SoftwareFunction
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Software
|
||||
namespace LaaProduction.Services.Models.Software
|
||||
{
|
||||
public class SoftwareOverview
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Software
|
||||
namespace LaaProduction.Services.Models.Software
|
||||
{
|
||||
public class SoftwareUser
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Services.Models.Software
|
||||
namespace LaaProduction.Services.Models.Software
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
namespace LaaProductionWeb.Services
|
||||
namespace LaaProduction.Services
|
||||
{
|
||||
using LaaProductionSQL.Interfaces;
|
||||
using LaaProductionWeb.Services.Interfaces;
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProduction.Services.Interfaces;
|
||||
using LaaProduction.Services.Models;
|
||||
|
||||
public class OrdersService : IOrdersService
|
||||
{
|
||||
+2
-2
@@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("LaaProductionWeb.Services")]
|
||||
[assembly: AssemblyTitle("LaaProduction.Services")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("LaaProductionWeb.Services")]
|
||||
[assembly: AssemblyProduct("LaaProduction.Services")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2023")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
namespace LaaProductionWeb.Services
|
||||
namespace LaaProduction.Services
|
||||
{
|
||||
using LaaProductionSQL.Interfaces;
|
||||
using LaaProductionWeb.Services.Interfaces;
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProductionWeb.Services.Models.Reports;
|
||||
using LaaProduction.Services.Interfaces;
|
||||
using LaaProduction.Services.Models;
|
||||
using LaaProduction.Services.Models.Reports;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
namespace LaaProductionWeb.Services
|
||||
namespace LaaProduction.Services
|
||||
{
|
||||
using LaaProductionSQL.Interfaces;
|
||||
using LaaProductionWeb.Services.Interfaces;
|
||||
using LaaProductionWeb.Services.Models.Reports;
|
||||
using LaaProduction.Services.Interfaces;
|
||||
using LaaProduction.Services.Models.Reports;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
namespace LaaProductionWeb.Services
|
||||
namespace LaaProduction.Services
|
||||
{
|
||||
using LaaProductionSQL.Interfaces;
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProductionWeb.Services.Interfaces;
|
||||
using LaaProduction.Services.Models;
|
||||
using LaaProduction.Services.Interfaces;
|
||||
|
||||
using System.Collections.Generic;
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
namespace LaaProductionWeb.Services
|
||||
namespace LaaProduction.Services
|
||||
{
|
||||
using LaaProductionSQL.Interfaces;
|
||||
using LaaProductionWeb.Services.Interfaces;
|
||||
using LaaProductionWeb.Services.Models;
|
||||
using LaaProduction.Services.Interfaces;
|
||||
using LaaProduction.Services.Models;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
namespace LaaProductionWeb.Services
|
||||
namespace LaaProduction.Services
|
||||
{
|
||||
using LaaProductionSQL.Interfaces;
|
||||
using LaaProductionWeb.Services.Interfaces;
|
||||
using LaaProductionWeb.Services.Models.Software;
|
||||
using LaaProduction.Services.Interfaces;
|
||||
using LaaProduction.Services.Models.Software;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.App_Infrastructure
|
||||
namespace LaaProduction.Web.App_Infrastructure
|
||||
{
|
||||
using LaaProduction.Personalization;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.App_Infrastructure
|
||||
namespace LaaProduction.Web.App_Infrastructure
|
||||
{
|
||||
using System.Configuration;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.App_Infrastructure
|
||||
namespace LaaProduction.Web.App_Infrastructure
|
||||
{
|
||||
using LaaProduction.Personalization.Interfaces;
|
||||
|
||||
+3
-7
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.App_Infrastructure
|
||||
namespace LaaProduction.Web.App_Infrastructure
|
||||
{
|
||||
using LaaProduction.Personalization.Interfaces;
|
||||
|
||||
@@ -7,17 +7,13 @@
|
||||
|
||||
public class AuthorizeBearerAttribute : AuthorizeAttribute
|
||||
{
|
||||
private readonly IAccountManager accountManager;
|
||||
|
||||
public AuthorizeBearerAttribute()
|
||||
=> this.accountManager = ServiceProvider.GetService<IAccountManager>();
|
||||
|
||||
protected override bool IsAuthorized(HttpActionContext actionContext)
|
||||
{
|
||||
if (actionContext.Request.Headers.Authorization?.Scheme == "Bearer")
|
||||
{
|
||||
var accountManager = ServiceProvider.GetService<IAccountManager>();
|
||||
var bearer = actionContext.Request.Headers.Authorization.Parameter;
|
||||
var principal = this.accountManager.GetClaimsPrincipal(bearer);
|
||||
var principal = accountManager.GetClaimsPrincipal(bearer);
|
||||
|
||||
return principal.Identity.IsAuthenticated;
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.App_Infrastructure
|
||||
namespace LaaProduction.Web.App_Infrastructure
|
||||
{
|
||||
using System.Web.Mvc;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.App_Infrastructure
|
||||
namespace LaaProduction.Web.App_Infrastructure
|
||||
{
|
||||
using LaaProductionHttp.Interfaces;
|
||||
using Newtonsoft.Json;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.App_Infrastructure
|
||||
namespace LaaProduction.Web.App_Infrastructure
|
||||
{
|
||||
using Newtonsoft.Json;
|
||||
|
||||
+6
-6
@@ -1,12 +1,12 @@
|
||||
namespace LaaProductionWeb
|
||||
namespace LaaProduction
|
||||
{
|
||||
using LaaProduction.Personalization;
|
||||
using LaaProduction.Search;
|
||||
using LaaProductionHttp;
|
||||
using LaaProductionSQL;
|
||||
using LaaProductionWeb.App_Infrastructure;
|
||||
using LaaProductionWeb.Services;
|
||||
using LaaProductionWeb.Services.Interfaces;
|
||||
using LaaProduction.Web.App_Infrastructure;
|
||||
using LaaProduction.Services;
|
||||
using LaaProduction.Services.Interfaces;
|
||||
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
=> serviceProvider = new ServiceCollection()
|
||||
.AddSingleton(_ => SQLConnection.CreateConnection(Appsettings.ConnectionString))
|
||||
.AddSingleton(_ => HttpClient.CreateHttpClient(Appsettings.APIURL))
|
||||
.AddAdministration(Appsettings.ConnectionString)
|
||||
.AddSearching(Appsettings.ConnectionString)
|
||||
.AddScoped<IAccountService, AccountService>()
|
||||
.AddScoped<IApprovalsService, ApprovalsService>()
|
||||
.AddScoped<ILoggerService, LoggerService>()
|
||||
@@ -32,8 +34,6 @@
|
||||
.AddScoped<ISearchService, SearchService>()
|
||||
.AddScoped<IShipmentsService, ShipmentsService>()
|
||||
.AddScoped<ISoftwareService, SoftwareService>()
|
||||
.AddAdministration(Appsettings.ConnectionString)
|
||||
.AddSearching(Appsettings.ConnectionString)
|
||||
.BuildServiceProvider();
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb
|
||||
namespace LaaProduction
|
||||
{
|
||||
using System.Web.Optimization;
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
namespace LaaProductionWeb
|
||||
namespace LaaProduction
|
||||
{
|
||||
using LaaProductionWeb.App_Infrastructure;
|
||||
using LaaProduction.Web.App_Infrastructure;
|
||||
|
||||
using System.Web.Mvc;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb
|
||||
namespace LaaProduction
|
||||
{
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Routing;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb
|
||||
namespace LaaProduction
|
||||
{
|
||||
using System.Web.Http;
|
||||
|
||||
+3
-3
@@ -1,9 +1,9 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Controllers
|
||||
namespace LaaProduction.Web.Areas.Personalization.Controllers
|
||||
{
|
||||
using LaaProduction.Personalization;
|
||||
using LaaProductionHttp.Interfaces;
|
||||
using LaaProductionWeb.App_Infrastructure;
|
||||
using LaaProductionWeb.Areas.Personalization.Models.Employees;
|
||||
using LaaProduction.Web.App_Infrastructure;
|
||||
using LaaProduction.Web.Areas.Personalization.Models.Employees;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Controllers
|
||||
namespace LaaProduction.Web.Areas.Personalization.Controllers
|
||||
{
|
||||
using System.Web.Mvc;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Controllers
|
||||
namespace LaaProduction.Web.Areas.Personalization.Controllers
|
||||
{
|
||||
using System.Web.Mvc;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Controllers
|
||||
namespace LaaProduction.Web.Areas.Personalization.Controllers
|
||||
{
|
||||
using System.Web.Mvc;
|
||||
|
||||
+4
-4
@@ -1,10 +1,10 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Controllers
|
||||
namespace LaaProduction.Web.Areas.Personalization.Controllers
|
||||
{
|
||||
using LaaProduction.Personalization;
|
||||
|
||||
using LaaProductionWeb.App_Infrastructure;
|
||||
using LaaProductionWeb.Areas.Personalization.Models.Software;
|
||||
using LaaProductionWeb.Services.Interfaces;
|
||||
using LaaProduction.Web.App_Infrastructure;
|
||||
using LaaProduction.Web.Areas.Personalization.Models.Software;
|
||||
using LaaProduction.Services.Interfaces;
|
||||
|
||||
using System;
|
||||
using System.Linq;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Controllers
|
||||
namespace LaaProduction.Web.Areas.Personalization.Controllers
|
||||
{
|
||||
using System.Web.Mvc;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Models.Employees
|
||||
namespace LaaProduction.Web.Areas.Personalization.Models.Employees
|
||||
{
|
||||
public class Employee
|
||||
{
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Models.Employees
|
||||
namespace LaaProduction.Web.Areas.Personalization.Models.Employees
|
||||
{
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Models.Employees
|
||||
namespace LaaProduction.Web.Areas.Personalization.Models.Employees
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Models.Employees
|
||||
namespace LaaProduction.Web.Areas.Personalization.Models.Employees
|
||||
{
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Models.Employees
|
||||
namespace LaaProduction.Web.Areas.Personalization.Models.Employees
|
||||
{
|
||||
using System.Collections.Generic;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Models.Employees
|
||||
namespace LaaProduction.Web.Areas.Personalization.Models.Employees
|
||||
{
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace LaaProductionWeb.Areas.Personalization.Models.Employees
|
||||
namespace LaaProduction.Web.Areas.Personalization.Models.Employees
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user