init project
This commit is contained in:
11
Infrastructure/Infrastructure.csproj
Normal file
11
Infrastructure/Infrastructure.csproj
Normal file
@@ -0,0 +1,11 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Domain\Domain.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
25
Infrastructure/Repositories/AppRepository.cs
Normal file
25
Infrastructure/Repositories/AppRepository.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Domain.AggregateModel.AppAggregate;
|
||||
using Domain.SeedWork;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Infrastructure.Repositories
|
||||
{
|
||||
public class AppRepository : IAppRepository
|
||||
{
|
||||
public IUnitOfWork UnitOfWork => throw new NotImplementedException();
|
||||
|
||||
public void Add(App app)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<App> GetAsync(int id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
25
Infrastructure/Repositories/LinkRepository.cs
Normal file
25
Infrastructure/Repositories/LinkRepository.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using Domain.AggregateModel.LinkAggregate;
|
||||
using Domain.SeedWork;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Infrastructure.Repositories
|
||||
{
|
||||
public class LinkRepository : ILinkRepository
|
||||
{
|
||||
public IUnitOfWork UnitOfWork => throw new NotImplementedException();
|
||||
|
||||
public void Add(Link link)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<Link> GetAsync(string shortCode)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user