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

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.Runtime.Serialization.Json;
namespace ConfectioneryBusinessLogic
namespace IceCreamBusinessLogic.BusinessLogics
{
public class BackUpLogic : IBackUpLogic
{

View File

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

View File

@ -68,8 +68,9 @@ namespace IceCreamShop
DependencyManager.Instance.RegisterType<IReportLogic, ReportLogic>();
DependencyManager.Instance.RegisterType<IWorkProcess, WorkModeling>();
DependencyManager.Instance.RegisterType<IMessageInfoLogic, MessageInfoLogic>();
DependencyManager.Instance.RegisterType<IBackUpLogic, BackUpLogic>();
DependencyManager.Instance.RegisterType<AbstractMailWorker, MailKitWorker>();
DependencyManager.Instance.RegisterType<AbstractMailWorker, MailKitWorker>();
DependencyManager.Instance.RegisterType<AbstractSaveToExcel, SaveToExcel>();
DependencyManager.Instance.RegisterType<AbstractSaveToWord, SaveToWord>();

View File

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

View File

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

View File

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