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;
using BLL.App.DTO.Identity;
using Contracts.DAL.Base;
using System.Text.Json.Serialization;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO
{
......
......@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
using Contracts.DAL.Base;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO
{
......
......@@ -4,7 +4,7 @@ using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;
using BLL.App.DTO.Identity;
using Contracts.DAL.Base;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO
{
......
using System;
using System.Collections.Generic;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO
{
......
using System;
using System.ComponentModel.DataAnnotations;
using Contracts.DAL.Base;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO.Identity
{
......
using System;
using System.ComponentModel.DataAnnotations;
using Contracts.DAL.Base;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO.Identity
{
......
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO
{
......
using System;
using System.ComponentModel.DataAnnotations;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO
{
......
......@@ -2,7 +2,7 @@ using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using BLL.App.DTO.Identity;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO
{
......
using System;
using System.Collections.Generic;
using BLL.App.DTO.Identity;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace BLL.App.DTO
{
......
......@@ -6,7 +6,7 @@ using Contracts.BLL.Base.Mappers;
using Contracts.BLL.Base.Services;
using Contracts.DAL.Base;
using Contracts.DAL.Base.Repositories;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace BLL.Base.Services
{
......
using System;
using Contracts.DAL.Base;
using Contracts.DAL.Base.Repositories;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace Contracts.BLL.Base.Services
{
......
......@@ -5,11 +5,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="com.akaver.sportmap.Contracts.Domain" Version="1.0.0" />
<PackageReference Include="Microsoft.Extensions.Identity.Stores" Version="3.1.3" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Contracts.Domain\Contracts.Domain.csproj" />
</ItemGroup>
</Project>
using System;
using System.Collections.Generic;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
namespace Contracts.DAL.Base
{
......
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Contracts.Domain;
using com.akaver.sportmap.Contracts.Domain;
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 @@
<ProjectReference Include="..\DAL.Base\DAL.Base.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="com.akaver.sportmap.Contracts.Domain" Version="1.0.0" />
</ItemGroup>
</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