DepartmentProject/DepartmentPortal/Security/SecurityBusinessLogic/Interfaces/IBackupService.cs

25 lines
715 B
C#
Raw Normal View History

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