Update to Onion Architecture.

This commit is contained in:
Sébastien André
2021-03-01 20:33:00 +01:00
parent e0c41131cc
commit 9341bb284e
70 changed files with 222 additions and 202 deletions

View File

@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using skydiveLogs_api.Business.Interface;
using skydiveLogs_api.Model;
using skydiveLogs_api.Data.Interface;
using skydiveLogs_api.Business.Interfaces;
using skydiveLogs_api.DomainService.Repositories;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business

View File

@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using skydiveLogs_api.Business.Interface;
using skydiveLogs_api.Data.Interface;
using skydiveLogs_api.Model;
using skydiveLogs_api.Business.Interfaces;
using skydiveLogs_api.DomainService.Repositories;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business

View File

@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using skydiveLogs_api.Business.Interface;
using skydiveLogs_api.Model;
using skydiveLogs_api.Data.Interface;
using skydiveLogs_api.Business.Interfaces;
using skydiveLogs_api.DomainService.Repositories;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business

View File

@@ -2,8 +2,8 @@
using System.IO;
using System.Text.Json;
using skydiveLogs_api.Business.Interface;
using skydiveLogs_api.Model;
using skydiveLogs_api.Business.Interfaces;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business

View File

@@ -1,9 +1,9 @@
using System.Collections.Generic;
using skydiveLogs_api.Model;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business.Interface
namespace skydiveLogs_api.Business.Interfaces
{
public interface IAircraftService
{

View File

@@ -1,9 +1,9 @@
using System.Collections.Generic;
using skydiveLogs_api.Model;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business.Interface
namespace skydiveLogs_api.Business.Interfaces
{
public interface IDropZoneService
{

View File

@@ -1,9 +1,9 @@
using System.Collections.Generic;
using skydiveLogs_api.Model;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business.Interface
namespace skydiveLogs_api.Business.Interfaces
{
public interface IGearService
{

View File

@@ -1,6 +1,4 @@
using System.Collections.Generic;
namespace skydiveLogs_api.Business.Interface
namespace skydiveLogs_api.Business.Interfaces
{
public interface IInitDbService
{

View File

@@ -1,9 +1,9 @@
using System.Collections.Generic;
using skydiveLogs_api.Model;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business.Interface
namespace skydiveLogs_api.Business.Interfaces
{
public interface IJumpService
{

View File

@@ -1,9 +1,9 @@
using System.Collections.Generic;
using skydiveLogs_api.Model;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business.Interface
namespace skydiveLogs_api.Business.Interfaces
{
public interface IJumpTypeService
{

View File

@@ -1,7 +1,9 @@
using skydiveLogs_api.Model;
using System.Collections.Generic;
using System.Collections.Generic;
namespace skydiveLogs_api.Business.Interface
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business.Interfaces
{
public interface IStatsService
{

View File

@@ -1,9 +1,9 @@
using System.Collections.Generic;
using skydiveLogs_api.Model;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business.Interface
namespace skydiveLogs_api.Business.Interfaces
{
public interface IUserImageService
{

View File

@@ -1,6 +1,6 @@
using skydiveLogs_api.Model;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business.Interface
namespace skydiveLogs_api.Business.Interfaces
{
public interface IUserService
{

View File

@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using skydiveLogs_api.Business.Interface;
using skydiveLogs_api.Model;
using skydiveLogs_api.Data.Interface;
using skydiveLogs_api.Business.Interfaces;
using skydiveLogs_api.DomainService.Repositories;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business

View File

@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using skydiveLogs_api.Business.Interface;
using skydiveLogs_api.Model;
using skydiveLogs_api.Data.Interface;
using skydiveLogs_api.Business.Interfaces;
using skydiveLogs_api.DomainService.Repositories;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business

View File

@@ -1,9 +1,8 @@
using System.Collections.Generic;
using System.Linq;
using skydiveLogs_api.Business.Interface;
using skydiveLogs_api.Data.Interface;
using skydiveLogs_api.Model;
using skydiveLogs_api.Business.Interfaces;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business

View File

@@ -1,9 +1,9 @@
using System;
using System.Collections.Generic;
using skydiveLogs_api.Business.Interface;
using skydiveLogs_api.Model;
using skydiveLogs_api.Data.Interface;
using skydiveLogs_api.Business.Interfaces;
using skydiveLogs_api.Domain;
using skydiveLogs_api.DomainService.Repositories;
namespace skydiveLogs_api.Business

View File

@@ -3,9 +3,9 @@ using System.Text;
using System.IO;
using System;
using skydiveLogs_api.Business.Interface;
using skydiveLogs_api.Model;
using skydiveLogs_api.Data.Interface;
using skydiveLogs_api.Business.Interfaces;
using skydiveLogs_api.DomainService.Repositories;
using skydiveLogs_api.Domain;
namespace skydiveLogs_api.Business

View File

@@ -6,8 +6,8 @@
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\skydiveLogs-api.Data\skydiveLogs-api.Data.csproj" />
<ProjectReference Include="..\skydiveLogs-api.Model\skydiveLogs-api.Model.csproj" />
<ProjectReference Include="..\skydiveLogs-api.DomainService\skydiveLogs-api.DomainService.csproj" />
<ProjectReference Include="..\skydiveLogs-api.Model\skydiveLogs-api.Domain.csproj" />
</ItemGroup>
</Project>