2022-03-19 19:58:10 +04:00
|
|
|
|
using SecurityContract.BindingModels;
|
|
|
|
|
using ToolsModule.Models;
|
2021-04-02 15:53:15 +04:00
|
|
|
|
|
2022-03-19 22:48:13 +04:00
|
|
|
|
namespace SecurityContract.Services
|
2021-04-02 15:53:15 +04:00
|
|
|
|
{
|
2022-03-19 19:58:10 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Сервис работы по выгрузке и загрузке данных
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IBackupService
|
2021-04-02 15:53:15 +04:00
|
|
|
|
{
|
2021-04-02 20:04:46 +04:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Создание бекапа с данными
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
/// <returns></returns>
|
2021-04-02 15:53:15 +04:00
|
|
|
|
OperationResultModel CreateBackUp(BackupBindingModel model);
|
2021-04-02 20:04:46 +04:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Восстанволение данных через бекап
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="model"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
OperationResultModel RestoreBackUp(BackupBindingModel model);
|
2021-04-02 15:53:15 +04:00
|
|
|
|
}
|
|
|
|
|
}
|