Update to Onion Architecture.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
namespace skydiveLogs_api.Model
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class Aircraft
|
||||
{
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Model
|
||||
{
|
||||
public class CorsSettings
|
||||
{
|
||||
public string FrontUrl { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace skydiveLogs_api.Model
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class DatabaseOptions
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Model
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class DropZone
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace skydiveLogs_api.Model
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class Gear
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace skydiveLogs_api.Model
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class Jump
|
||||
{
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace skydiveLogs_api.Model
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class JumpType
|
||||
{
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Model
|
||||
{
|
||||
public class JwtSettings
|
||||
{
|
||||
public string Issuer { get; set; }
|
||||
|
||||
public string Passphrase { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace skydiveLogs_api.Model
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class SimpleSummary
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace skydiveLogs_api.Model
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class Statistic
|
||||
{
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace skydiveLogs_api.Model
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class User
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace skydiveLogs_api.Model
|
||||
namespace skydiveLogs_api.Domain
|
||||
{
|
||||
public class UserImage
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
<RootNamespace>skydiveLogs_api.Model</RootNamespace>
|
||||
<RootNamespace>skydiveLogs_api.Domain</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user