Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
964 changes: 964 additions & 0 deletions .vs/AdvancedWebAPI/config/applicationhost.config

Large diffs are not rendered by default.

Binary file modified .vs/AdvancedWebAPI/v17/.suo
Binary file not shown.
Binary file modified .vs/ProjectEvaluation/advancedwebapi.metadata.v5.2
Binary file not shown.
Binary file modified .vs/ProjectEvaluation/advancedwebapi.projects.v5.2
Binary file not shown.
4 changes: 4 additions & 0 deletions AWA.DataAccess/AWA.DataAccess.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@
<Folder Include="Data\" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\AWA.Models\AWA.Models.csproj" />
</ItemGroup>

</Project>
11 changes: 11 additions & 0 deletions AWA.DataAccess/bin/Debug/net7.0/AWA.DataAccess.deps.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
".NETCoreApp,Version=v7.0": {
"AWA.DataAccess/1.0.0": {
"dependencies": {
"AWA.Models": "1.0.0",
"Microsoft.EntityFrameworkCore.Design": "7.0.1",
"Microsoft.EntityFrameworkCore.SqlServer": "7.0.1"
},
Expand Down Expand Up @@ -663,6 +664,11 @@
"fileVersion": "5.0.20.51904"
}
}
},
"AWA.Models/1.0.0": {
"runtime": {
"AWA.Models.dll": {}
}
}
}
},
Expand Down Expand Up @@ -1133,6 +1139,11 @@
"sha512": "sha512-c1ho9WU9ZxMZawML+ssPKZfdnrg/OjR3pe0m9v8230z3acqphwvPJqzAkH54xRYm5ntZHGG1EPP3sux9H3qSPg==",
"path": "system.windows.extensions/5.0.0",
"hashPath": "system.windows.extensions.5.0.0.nupkg.sha512"
},
"AWA.Models/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file modified AWA.DataAccess/bin/Debug/net7.0/AWA.DataAccess.dll
Binary file not shown.
Binary file modified AWA.DataAccess/bin/Debug/net7.0/AWA.DataAccess.pdb
Binary file not shown.
Binary file added AWA.DataAccess/bin/Debug/net7.0/AWA.Models.dll
Binary file not shown.
Binary file added AWA.DataAccess/bin/Debug/net7.0/AWA.Models.pdb
Binary file not shown.
Binary file not shown.
Empty file.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
06b332dffcacf136cf44402ae714a3a078ecca9a
a5daf812a79c38bd8ccca1cb283b2726d49f7a63
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ C:\Elio\Development\Projects\AdvancedWebAPI\AWA.DataAccess\obj\Debug\net7.0\AWA.
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.DataAccess\obj\Debug\net7.0\ref\AWA.DataAccess.dll
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.DataAccess\bin\Debug\net7.0\AWA.DataAccess.runtimeconfig.json
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.DataAccess\obj\Debug\net7.0\AWA.DataAccess.genruntimeconfig.cache
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.DataAccess\bin\Debug\net7.0\AWA.Models.dll
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.DataAccess\bin\Debug\net7.0\AWA.Models.pdb
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.DataAccess\obj\Debug\net7.0\AWA.DataAccess.csproj.CopyComplete
Binary file modified AWA.DataAccess/obj/Debug/net7.0/AWA.DataAccess.dll
Binary file not shown.
Binary file modified AWA.DataAccess/obj/Debug/net7.0/AWA.DataAccess.pdb
Binary file not shown.
Binary file modified AWA.DataAccess/obj/Debug/net7.0/ref/AWA.DataAccess.dll
Binary file not shown.
Binary file modified AWA.DataAccess/obj/Debug/net7.0/refint/AWA.DataAccess.dll
Binary file not shown.
13 changes: 13 additions & 0 deletions AWA.Domain/AWA.Domain.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\AWA.Models\AWA.Models.csproj" />
</ItemGroup>

</Project>
8 changes: 8 additions & 0 deletions AWA.Domain/Interfaces/IBusinessEntityContactRepository.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using AWA.Models;

namespace AWA.Domain.Interfaces
{
public interface IBusinessEntityContactRepository : IGenericRepository<BusinessEntityContact>
{
}
}
8 changes: 8 additions & 0 deletions AWA.Domain/Interfaces/IContactTypeRepository.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using AWA.Models;

namespace AWA.Domain.Interfaces
{
public interface IContactTypeRepository : IGenericRepository<ContactType>
{
}
}
9 changes: 9 additions & 0 deletions AWA.Domain/Interfaces/IEmailAddressRepository.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
using AWA.Models;

namespace AWA.Domain.Interfaces
{
public interface IEmailAddressRepository: IGenericRepository<EmailAddress>
{

}
}
11 changes: 11 additions & 0 deletions AWA.Domain/Interfaces/IGenericRepository.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace AWA.Domain.Interfaces
{
public interface IGenericRepository<T> where T : class
{
Task<T> Get(int id);
Task<IEnumerable<T>> GetAll();
Task Add(T entity);
void Delete(T entity);
void Update(T entity);
}
}
8 changes: 8 additions & 0 deletions AWA.Domain/Interfaces/IPersonRepository.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using AWA.Models;

namespace AWA.Domain.Interfaces
{
public interface IPersonRepository : IGenericRepository<Person>
{
}
}
11 changes: 11 additions & 0 deletions AWA.Domain/Interfaces/IUnitOfWork.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
namespace AWA.Domain.Interfaces
{
public interface IUnitOfWork : IDisposable
{
IBusinessEntityContactRepository BusinessEntityContacts { get; }
IContactTypeRepository ContactTypes { get; }
IPersonRepository People { get; }
IEmailAddressRepository EmailAddresses { get; }
int Complete();
}
}
36 changes: 36 additions & 0 deletions AWA.Domain/bin/Debug/net7.0/AWA.Domain.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v7.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v7.0": {
"AWA.Domain/1.0.0": {
"dependencies": {
"AWA.Models": "1.0.0"
},
"runtime": {
"AWA.Domain.dll": {}
}
},
"AWA.Models/1.0.0": {
"runtime": {
"AWA.Models.dll": {}
}
}
}
},
"libraries": {
"AWA.Domain/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"AWA.Models/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Binary file added AWA.Domain/bin/Debug/net7.0/AWA.Domain.dll
Binary file not shown.
Binary file added AWA.Domain/bin/Debug/net7.0/AWA.Domain.pdb
Binary file not shown.
Binary file added AWA.Domain/bin/Debug/net7.0/AWA.Models.dll
Binary file not shown.
Binary file added AWA.Domain/bin/Debug/net7.0/AWA.Models.pdb
Binary file not shown.
128 changes: 128 additions & 0 deletions AWA.Domain/obj/AWA.Domain.csproj.nuget.dgspec.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
{
"format": 1,
"restore": {
"C:\\Elio\\Development\\Projects\\AdvancedWebAPI\\AWA.Domain\\AWA.Domain.csproj": {}
},
"projects": {
"C:\\Elio\\Development\\Projects\\AdvancedWebAPI\\AWA.Domain\\AWA.Domain.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Elio\\Development\\Projects\\AdvancedWebAPI\\AWA.Domain\\AWA.Domain.csproj",
"projectName": "AWA.Domain",
"projectPath": "C:\\Elio\\Development\\Projects\\AdvancedWebAPI\\AWA.Domain\\AWA.Domain.csproj",
"packagesPath": "C:\\Users\\elio_\\.nuget\\packages\\",
"outputPath": "C:\\Elio\\Development\\Projects\\AdvancedWebAPI\\AWA.Domain\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\elio_\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {
"C:\\Elio\\Development\\Projects\\AdvancedWebAPI\\AWA.Models\\AWA.Models.csproj": {
"projectPath": "C:\\Elio\\Development\\Projects\\AdvancedWebAPI\\AWA.Models\\AWA.Models.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
}
}
},
"C:\\Elio\\Development\\Projects\\AdvancedWebAPI\\AWA.Models\\AWA.Models.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Elio\\Development\\Projects\\AdvancedWebAPI\\AWA.Models\\AWA.Models.csproj",
"projectName": "AWA.Models",
"projectPath": "C:\\Elio\\Development\\Projects\\AdvancedWebAPI\\AWA.Models\\AWA.Models.csproj",
"packagesPath": "C:\\Users\\elio_\\.nuget\\packages\\",
"outputPath": "C:\\Elio\\Development\\Projects\\AdvancedWebAPI\\AWA.Models\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\elio_\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net7.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net7.0": {
"targetAlias": "net7.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
}
}
}
}
}
16 changes: 16 additions & 0 deletions AWA.Domain/obj/AWA.Domain.csproj.nuget.g.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\elio_\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.4.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\elio_\.nuget\packages\" />
<SourceRoot Include="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\" />
</ItemGroup>
</Project>
2 changes: 2 additions & 0 deletions AWA.Domain/obj/AWA.Domain.csproj.nuget.g.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v7.0", FrameworkDisplayName = ".NET 7.0")]
23 changes: 23 additions & 0 deletions AWA.Domain/obj/Debug/net7.0/AWA.Domain.AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("AWA.Domain")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("AWA.Domain")]
[assembly: System.Reflection.AssemblyTitleAttribute("AWA.Domain")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

// Generated by the MSBuild WriteCodeFragment class.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
f0b704add2243ef32d64f8f72a3671922ca13cb0
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
is_global = true
build_property.TargetFramework = net7.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = AWA.Domain
build_property.ProjectDir = C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\
8 changes: 8 additions & 0 deletions AWA.Domain/obj/Debug/net7.0/AWA.Domain.GlobalUsings.g.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;
Binary file added AWA.Domain/obj/Debug/net7.0/AWA.Domain.assets.cache
Binary file not shown.
Binary file not shown.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e9cbf5c2cab007d8dc4252b55e7181d90cce5fa3
15 changes: 15 additions & 0 deletions AWA.Domain/obj/Debug/net7.0/AWA.Domain.csproj.FileListAbsolute.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\obj\Debug\net7.0\AWA.Domain.csproj.AssemblyReference.cache
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\obj\Debug\net7.0\AWA.Domain.GeneratedMSBuildEditorConfig.editorconfig
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\obj\Debug\net7.0\AWA.Domain.AssemblyInfoInputs.cache
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\obj\Debug\net7.0\AWA.Domain.AssemblyInfo.cs
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\obj\Debug\net7.0\AWA.Domain.csproj.CoreCompileInputs.cache
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\bin\Debug\net7.0\AWA.Domain.deps.json
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\bin\Debug\net7.0\AWA.Domain.dll
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\bin\Debug\net7.0\AWA.Domain.pdb
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\bin\Debug\net7.0\AWA.Models.dll
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\bin\Debug\net7.0\AWA.Models.pdb
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\obj\Debug\net7.0\AWA.Domain.csproj.CopyComplete
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\obj\Debug\net7.0\AWA.Domain.dll
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\obj\Debug\net7.0\refint\AWA.Domain.dll
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\obj\Debug\net7.0\AWA.Domain.pdb
C:\Elio\Development\Projects\AdvancedWebAPI\AWA.Domain\obj\Debug\net7.0\ref\AWA.Domain.dll
Binary file added AWA.Domain/obj/Debug/net7.0/AWA.Domain.dll
Binary file not shown.
Binary file added AWA.Domain/obj/Debug/net7.0/AWA.Domain.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading