using ZhonTai.Admin.Core.Dto;
using System.Threading.Tasks;
using ZhonTai.Admin.Services.Api.Dto;
using ZhonTai.Admin.Domain.Api.Dto;
using System.Collections.Generic;
using ZhonTai.Admin.Domain.Api;
namespace ZhonTai.Admin.Services.Api;
///
/// api接口
///
public interface IApiService
{
Task GetAsync(long id);
Task> GetListAsync(string key);
Task> GetPageAsync(PageInput input);
Task AddAsync(ApiAddInput input);
Task UpdateAsync(ApiUpdateInput input);
Task DeleteAsync(long id);
Task BatchDeleteAsync(long[] ids);
Task SoftDeleteAsync(long id);
Task BatchSoftDeleteAsync(long[] ids);
Task SyncAsync(ApiSyncInput input);
}