1234567891011121314151617181920212223242526272829 |
- using System.Collections.Generic;
- using System.Threading.Tasks;
- using ZhonTai.Admin.Services.View.Dto;
- namespace ZhonTai.Admin.Services.View;
- /// <summary>
- /// 视图接口
- /// </summary>
- public interface IViewService
- {
- Task<ViewGetOutput> GetAsync(long id);
- Task<List<ViewListOutput>> GetListAsync(string key);
- Task<long> 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);
- }
|