using System.Collections.Generic;
using System.Threading.Tasks;
using ZhonTai.Admin.Services.View.Dto;
namespace ZhonTai.Admin.Services.View;
///
/// 视图接口
///
public interface IViewService
{
Task GetAsync(long id);
Task> GetListAsync(string key);
Task AddAsync(ViewAddInput input);
Task UpdateAsync(ViewUpdateInput input);
Task DeleteAsync(long id);
Task BatchDeleteAsync(long[] ids);
Task SoftDeleteAsync(long id);
Task BatchSoftDeleteAsync(long[] ids);
Task SyncAsync(ViewSyncInput input);
}