Commit 2e314c36 authored by Andres Käver's avatar Andres Käver
Browse files

nuget

parent c055e5c7
Pipeline #824 passed with stages
in 1 minute and 54 seconds
...@@ -2,7 +2,7 @@ using System; ...@@ -2,7 +2,7 @@ using System;
using BLL.App.DTO.Identity; using BLL.App.DTO.Identity;
using Contracts.DAL.Base; using Contracts.DAL.Base;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO namespace BLL.App.DTO
{ {
......
...@@ -3,7 +3,7 @@ using System.Collections.Generic; ...@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
using Contracts.DAL.Base; using Contracts.DAL.Base;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO namespace BLL.App.DTO
{ {
......
...@@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations; ...@@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization; using System.Text.Json.Serialization;
using BLL.App.DTO.Identity; using BLL.App.DTO.Identity;
using Contracts.DAL.Base; using Contracts.DAL.Base;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO namespace BLL.App.DTO
{ {
......
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO namespace BLL.App.DTO
{ {
......
using System; using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Contracts.DAL.Base; using Contracts.DAL.Base;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO.Identity namespace BLL.App.DTO.Identity
{ {
......
using System; using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Contracts.DAL.Base; using Contracts.DAL.Base;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO.Identity namespace BLL.App.DTO.Identity
{ {
......
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema; using System.ComponentModel.DataAnnotations.Schema;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO namespace BLL.App.DTO
{ {
......
using System; using System;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO namespace BLL.App.DTO
{ {
......
...@@ -2,7 +2,7 @@ using System; ...@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations;
using BLL.App.DTO.Identity; using BLL.App.DTO.Identity;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO namespace BLL.App.DTO
{ {
......
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using BLL.App.DTO.Identity; using BLL.App.DTO.Identity;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO namespace BLL.App.DTO
{ {
......
...@@ -6,7 +6,7 @@ using Contracts.BLL.Base.Mappers; ...@@ -6,7 +6,7 @@ using Contracts.BLL.Base.Mappers;
using Contracts.BLL.Base.Services; using Contracts.BLL.Base.Services;
using Contracts.DAL.Base; using Contracts.DAL.Base;
using Contracts.DAL.Base.Repositories; using Contracts.DAL.Base.Repositories;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace BLL.Base.Services namespace BLL.Base.Services
{ {
......
using System; using System;
using Contracts.DAL.Base; using Contracts.DAL.Base;
using Contracts.DAL.Base.Repositories; using Contracts.DAL.Base.Repositories;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace Contracts.BLL.Base.Services namespace Contracts.BLL.Base.Services
{ {
......
...@@ -5,11 +5,8 @@ ...@@ -5,11 +5,8 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="com.akaver.sportmap.Contracts.Domain" Version="1.0.0" />
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="3.1.3" /> <PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="3.1.3" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Contracts.Domain\Contracts.Domain.csproj" />
</ItemGroup>
</Project> </Project>
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace Contracts.DAL.Base namespace Contracts.DAL.Base
{ {
......
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Contracts.Domain; using com.akaver.sportmap.Contracts.Domain;
namespace Contracts.DAL.Base.Repositories namespace Contracts.DAL.Base.Repositories
{ {
......
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="3.1.3" />
</ItemGroup>
</Project>
using System;
namespace Contracts.Domain
{
public interface IDomainEntityId : IDomainEntityId<Guid>
{
}
public interface IDomainEntityId<TKey>
where TKey: IEquatable<TKey>
{
TKey Id { get; set; }
}
}
\ No newline at end of file
using System;
namespace Contracts.Domain
{
public interface IDomainEntityMetadata
{
string? CreatedBy { get; set; }
DateTime CreatedAt { get; set; }
string? ChangedBy { get; set; }
DateTime ChangedAt { get; set; }
}
}
\ No newline at end of file
using System;
using Microsoft.AspNetCore.Identity;
namespace Contracts.Domain
{
public interface IDomainEntityUser<TUser> : IDomainEntityUser<Guid, TUser>
where TUser : IdentityUser<Guid>
{
}
public interface IDomainEntityUser<TKey, TUser>
where TKey : IEquatable<TKey>
where TUser : IdentityUser<TKey>
{
public TKey AppUserId { get; set; }
public TUser? AppUser { get; set; }
}
}
\ No newline at end of file
...@@ -9,4 +9,8 @@ ...@@ -9,4 +9,8 @@
<ProjectReference Include="..\DAL.Base\DAL.Base.csproj" /> <ProjectReference Include="..\DAL.Base\DAL.Base.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<PackageReference Include="com.akaver.sportmap.Contracts.Domain" Version="1.0.0" />
</ItemGroup>
</Project> </Project>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment