Вроде работает
This commit is contained in:
parent
1e40bf95cb
commit
8ecffb665c
@ -17,6 +17,7 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\LawFirmBusinessLogic\LawFirmBusinessLogic.csproj" />
|
<ProjectReference Include="..\LawFirmBusinessLogic\LawFirmBusinessLogic.csproj" />
|
||||||
<ProjectReference Include="..\LawFirmContracts\LawFirmContracts.csproj" />
|
<ProjectReference Include="..\LawFirmContracts\LawFirmContracts.csproj" />
|
||||||
|
<ProjectReference Include="..\LawFirmFileImplement\LawFirmFileImplement.csproj" />
|
||||||
<ProjectReference Include="..\LawFirmListImplements\LawFirmListImplements.csproj" />
|
<ProjectReference Include="..\LawFirmListImplements\LawFirmListImplements.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
using LawFirmBusinessLogic.BusinessLogics;
|
using LawFirmBusinessLogic.BusinessLogics;
|
||||||
using LawFirmContracts.BusinessLogicContracts;
|
using LawFirmContracts.BusinessLogicContracts;
|
||||||
using LawFirmContracts.StorageContracts;
|
using LawFirmContracts.StorageContracts;
|
||||||
using LawFirmListImplements.Implements;
|
using LawFirmFileImplement.Implements;
|
||||||
using LawFirmView;
|
using LawFirmView;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Logging;
|
using Microsoft.Extensions.Logging;
|
||||||
@ -41,9 +41,11 @@ namespace LawFirm
|
|||||||
services.AddTransient<IBlankStorage, BlankStorage>();
|
services.AddTransient<IBlankStorage, BlankStorage>();
|
||||||
services.AddTransient<IOrderStorage, OrderStorage>();
|
services.AddTransient<IOrderStorage, OrderStorage>();
|
||||||
services.AddTransient<IDocumentStorage, DocumentStorage>();
|
services.AddTransient<IDocumentStorage, DocumentStorage>();
|
||||||
|
|
||||||
services.AddTransient<IBlankLogic, BlankLogic>();
|
services.AddTransient<IBlankLogic, BlankLogic>();
|
||||||
services.AddTransient<IOrderLogic, OrderLogic>();
|
services.AddTransient<IOrderLogic, OrderLogic>();
|
||||||
services.AddTransient<IDocumentLogic, DocumentLogic>();
|
services.AddTransient<IDocumentLogic, DocumentLogic>();
|
||||||
|
|
||||||
services.AddTransient<FormMain>();
|
services.AddTransient<FormMain>();
|
||||||
services.AddTransient<FormBlank>();
|
services.AddTransient<FormBlank>();
|
||||||
services.AddTransient<FormBlanks>();
|
services.AddTransient<FormBlanks>();
|
||||||
|
@ -11,7 +11,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace LawFirmFileImplement.Implements
|
namespace LawFirmFileImplement.Implements
|
||||||
{
|
{
|
||||||
internal class DocumentStorage : IDocumentStorage
|
public class DocumentStorage : IDocumentStorage
|
||||||
{
|
{
|
||||||
private readonly DataFileSingleton source;
|
private readonly DataFileSingleton source;
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace LawFirmFileImplement.Implements
|
namespace LawFirmFileImplement.Implements
|
||||||
{
|
{
|
||||||
internal class OrderStorage : IOrderStorage
|
public class OrderStorage : IOrderStorage
|
||||||
{
|
{
|
||||||
private readonly DataFileSingleton source;
|
private readonly DataFileSingleton source;
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
|
Loading…
Reference in New Issue
Block a user