DepartmentProject/DepartmentPortal/Security/SecurityContract/Services/IBackupService.cs

25 lines
724 B
C#
Raw Permalink Normal View History

using SecurityContract.BindingModels;
2022-03-20 10:10:44 +04:00
using ToolsModule.ManagmentEntity;
2021-04-02 15:53:15 +04:00
namespace SecurityContract.Services
2021-04-02 15:53:15 +04:00
{
/// <summary>
/// Сервис работы по выгрузке и загрузке данных
/// </summary>
public interface IBackupService
2021-04-02 15:53:15 +04:00
{
/// <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
}
}