DepartmentProject/DepartmentPortal/Security/SecurityContract/Logics/IBackupLogic.cs

25 lines
661 B
C#
Raw Normal View History

using SecurityContract.BindingModels;
2022-03-20 10:10:44 +04:00
using ToolsModule.ManagmentEntity;
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);
}
}