ПИбд-23 Салин Олег Алексеевич Лабораторная работа №4 #12

Closed
Oleja123 wants to merge 6 commits from Lab4 into Lab3
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 4c86765f3d - Show all commits

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
{