init project

This commit is contained in:
2021-02-23 09:51:50 +08:00
commit f7384b9afc
35 changed files with 938 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Domain\Domain.csproj" />
</ItemGroup>
</Project>

View 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();
}
}
}

View 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();
}
}
}