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

25 lines
661 B
C#
Raw Permalink 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.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);
}
}