This commit is contained in:
gg12 darfren 2024-03-24 15:12:19 +04:00
parent 617f8d3801
commit 4c86765f3d
2 changed files with 2 additions and 2 deletions

View File

@ -189,7 +189,7 @@ Program.ServiceProvider?.GetService(typeof(OrderForm));
using var dialog = new SaveFileDialog { Filter = "docx|*.docx" };
if (dialog.ShowDialog() == DialogResult.OK)
{
_reportLogic.SaveComponentsToWordFile(new ReportBindingModel
_reportLogic.SaveIceCreamToWordFile(new ReportBindingModel
{
FileName = dialog.FileName
});

View File

@ -74,7 +74,7 @@ namespace IceCreamShopBusinessLogic.BusinessLogic
})
.ToList();
}
public void SaveIceCreamsToWordFile(ReportBindingModel model)
public void SaveIceCreamToWordFile(ReportBindingModel model)
{
_saveToWord.CreateDoc(new WordInfo
{