INoticeCcRepository.cs 852 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Threading.Tasks;
  5. using GxPress.Entity;
  6. using Datory;
  7. namespace GxPress.Repository.Interface
  8. {
  9. /// <summary>
  10. /// 抄送人
  11. /// </summary>
  12. public interface INoticeCcRepository : IRepository
  13. {
  14. /// <summary>
  15. /// 根据通知ID获取抄送人
  16. /// </summary>
  17. /// <param name="noticeId"></param>
  18. /// <returns></returns>
  19. Task<IEnumerable<NoticeCc>> GetNoticeCcByNoticeIdAsync(int noticeId);
  20. Task<bool> DeleteAsync(int noticeId);
  21. Task<int> InsertAsync(NoticeCc noticeCc);
  22. /// <summary>
  23. /// 添加通知抄送人
  24. /// </summary>
  25. /// <param name="noticeCcs"></param>
  26. /// <returns></returns>
  27. Task<bool> InsertAsync(List<NoticeCc> noticeCcs);
  28. }
  29. }