LFlow/LFlow.VersionManagement/Service/IVersionManagementService.cs

18 lines
573 B
C#

using LFlow.Base.Interfaces;
using LFlow.VersionManagement.Enums;
using LFlow.VersionManagement.Model;
namespace LFlow.VersionManagement.Service;
public interface IVersionManagementService : IService//<VersionDto>
{
VersionDto GetById(string id);
List<VersionDto> Search(VersionDto whereObj);
int DeleteById(string id);
VersionDto Save(VersionDto entity, bool isUpdate);
List<VersionDto> GetAll(int pageIndex, int pageSize, ref int total);
VersionDto? GetLastVersion(VersionType type, VersionChannel channel, UpgradeTargetType targetType);
}