2022-03-19 19:58:10 +04:00
|
|
|
|
using SecurityContract.BindingModels;
|
2022-03-20 10:10:44 +04:00
|
|
|
|
using ToolsModule.ManagmentEntity;
|
2022-03-19 19:58:10 +04:00
|
|
|
|
|
|
|
|
|
namespace SecurityContract.Logics
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Логика работы с бекапом
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IBackupLogic : IErrors
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Создание бекапа с данными
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
bool CreateBackUp(BackupBindingModel model);
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Восстанволение данных через бекап
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
bool RestoreBackUp(BackupBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|