using System.Collections.Generic; using System.Threading.Tasks; using GxPress.Request.App.OftenContact; using GxPress.Result.App.OftenContact; namespace GxPress.Service.Interface.OftenContact { public interface IOftenContactService : IService { /// /// 删除 /// /// Task DeleteAsync(int id); /// /// 根据文件ID获取用户和下面的数据 /// /// /// Task> GetOftenContacts(OftenContactSearchRequest request); /// /// 添加 /// /// /// Task InsertAsync(OftenContactInRequest request, int userId); /// /// 修改黑名单 /// /// /// /// Task SetBlackUserAsync(int userId, int blackUserId); /// /// 获取用户 /// /// /// Task> GetOftenContactsAll(OftenContactSearchRequest request); } }