вроде работает

This commit is contained in:
Inohara 2023-04-23 18:43:59 +04:00
parent b9096879ae
commit a254f61f7a
9 changed files with 12 additions and 4 deletions

View File

@ -7,7 +7,7 @@ using System.IO.Compression;
using System.Reflection; using System.Reflection;
using System.Runtime.Serialization.Json; using System.Runtime.Serialization.Json;
namespace ConfectioneryBusinessLogic namespace IceCreamBusinessLogic.BusinessLogics
{ {
public class BackUpLogic : IBackUpLogic public class BackUpLogic : IBackUpLogic
{ {

View File

@ -1,5 +1,4 @@
using AbstractIceCreamShopDataModels.Enums; using AbstractIceCreamShopDataModels.Enums;
using ConfectioneryBusinessLogic;
using IceCreamBusinessLogic.BusinessLogics; using IceCreamBusinessLogic.BusinessLogics;
using IceCreamShop; using IceCreamShop;
using IceCreamShopContracts.BindingModels; using IceCreamShopContracts.BindingModels;

View File

@ -68,6 +68,7 @@ namespace IceCreamShop
DependencyManager.Instance.RegisterType<IReportLogic, ReportLogic>(); DependencyManager.Instance.RegisterType<IReportLogic, ReportLogic>();
DependencyManager.Instance.RegisterType<IWorkProcess, WorkModeling>(); DependencyManager.Instance.RegisterType<IWorkProcess, WorkModeling>();
DependencyManager.Instance.RegisterType<IMessageInfoLogic, MessageInfoLogic>(); DependencyManager.Instance.RegisterType<IMessageInfoLogic, MessageInfoLogic>();
DependencyManager.Instance.RegisterType<IBackUpLogic, BackUpLogic>();
DependencyManager.Instance.RegisterType<AbstractMailWorker, MailKitWorker>(); DependencyManager.Instance.RegisterType<AbstractMailWorker, MailKitWorker>();

View File

@ -20,4 +20,8 @@
<ProjectReference Include="..\IceCreamShopDataModels\IceCreamShopDataModels.csproj" /> <ProjectReference Include="..\IceCreamShopDataModels\IceCreamShopDataModels.csproj" />
</ItemGroup> </ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy /Y &quot;$(TargetDir)*.dll&quot; &quot;$(SolutionDir)ImplementationExtensions\*.dll&quot;" />
</Target>
</Project> </Project>

View File

@ -93,7 +93,7 @@ namespace IceCreamShopDatabaseImplement.Models
DateCreate = DateCreate, DateCreate = DateCreate,
DateImplement = DateImplement, DateImplement = DateImplement,
Id = Id, Id = Id,
IceCreamName = IceCream?.IceCreamName ?? string.Empty, IceCreamName = context.IceCreams.FirstOrDefault(x => x.Id == IceCreamId)?.IceCreamName ?? string.Empty,
ImplementerFIO = Implementer?.ImplementerFIO ?? string.Empty, ImplementerFIO = Implementer?.ImplementerFIO ?? string.Empty,
ClientFIO = Client?.ClientFIO ?? string.Empty, ClientFIO = Client?.ClientFIO ?? string.Empty,
}; };

View File

@ -11,4 +11,8 @@
<ProjectReference Include="..\IceCreamShopDataModels\IceCreamShopDataModels.csproj" /> <ProjectReference Include="..\IceCreamShopDataModels\IceCreamShopDataModels.csproj" />
</ItemGroup> </ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="copy /Y &quot;$(TargetDir)*.dll&quot; &quot;$(SolutionDir)ImplementationExtensions\*.dll&quot;" />
</Target>
</Project> </Project>