...
This commit is contained in:
parent
617f8d3801
commit
4c86765f3d
@ -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
|
||||
});
|
||||
|
@ -74,7 +74,7 @@ namespace IceCreamShopBusinessLogic.BusinessLogic
|
||||
})
|
||||
.ToList();
|
||||
}
|
||||
public void SaveIceCreamsToWordFile(ReportBindingModel model)
|
||||
public void SaveIceCreamToWordFile(ReportBindingModel model)
|
||||
{
|
||||
_saveToWord.CreateDoc(new WordInfo
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user