This commit is contained in:
dasha 2023-05-02 21:34:28 +04:00
parent 468b3846af
commit 8f6f3dc3a6
4 changed files with 3 additions and 10 deletions

View File

@ -273,7 +273,7 @@ namespace SushiBarView
var fbd = new FolderBrowserDialog();
if (fbd.ShowDialog() == DialogResult.OK)
{
_backUpLogic.CreateBackUp(new BackUpSaveBinidngModel
_backUpLogic.CreateBackUp(new BackUpSaveBindingModel
{
FolderName = fbd.SelectedPath
});

View File

@ -21,7 +21,7 @@ namespace SushiBarBusinessLogic.BusinessLogics
_backUpInfo = backUpInfo;
}
public void CreateBackUp(BackUpSaveBinidngModel model)
public void CreateBackUp(BackUpSaveBindingModel model)
{
if (_backUpInfo == null)
{

View File

@ -1,7 +0,0 @@
namespace SushiBarContracts.BindingModels
{
public class BackUpSaveBinidngModel
{
public string FolderName { get; set; } = string.Empty;
}
}

View File

@ -4,6 +4,6 @@ namespace SushiBarContracts.BusinessLogicsContracts
{
public interface IBackUpLogic
{
void CreateBackUp(BackUpSaveBinidngModel model);
void CreateBackUp(BackUpSaveBindingModel model);
}
}