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

25 lines
724 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using SecurityContract.BindingModels;
using ToolsModule.ManagmentEntity;
namespace SecurityContract.Services
{
/// <summary>
/// Сервис работы по выгрузке и загрузке данных
/// </summary>
public interface IBackupService
{
/// <summary>
/// Создание бекапа с данными
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
OperationResultModel CreateBackUp(BackupBindingModel model);
/// <summary>
/// Восстанволение данных через бекап
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
OperationResultModel RestoreBackUp(BackupBindingModel model);
}
}