123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.Threading.Tasks;
- using GxPress.Entity;
- using Datory;
- namespace GxPress.Repository.Interface
- {
- /// <summary>
- /// 抄送人
- /// </summary>
- public interface INoticeCcRepository : IRepository
- {
- /// <summary>
- /// 根据通知ID获取抄送人
- /// </summary>
- /// <param name="noticeId"></param>
- /// <returns></returns>
- Task<IEnumerable<NoticeCc>> GetNoticeCcByNoticeIdAsync(int noticeId);
- Task<bool> DeleteAsync(int noticeId);
- Task<int> InsertAsync(NoticeCc noticeCc);
- /// <summary>
- /// 添加通知抄送人
- /// </summary>
- /// <param name="noticeCcs"></param>
- /// <returns></returns>
- Task<bool> InsertAsync(List<NoticeCc> noticeCcs);
- }
- }
|