INewsService.cs 627 B

12345678910111213141516171819202122
  1. using Muchinfo.MTPClient.Data.Model.News;
  2. using System.Collections.Generic;
  3. using System.Collections.ObjectModel;
  4. namespace Muchinfo.MTPClient.IService
  5. {
  6. public interface INewsService
  7. {
  8. /// <summary>
  9. /// 获取新闻分类信息
  10. /// </summary>
  11. /// <returns>List{NewsCategory}.</returns>
  12. List<NewsCategory> GetNewsCategories();
  13. /// <summary>
  14. /// 获取新闻标题(滚动信息)
  15. /// </summary>
  16. /// <param name="classCode"></param>
  17. /// <returns></returns>
  18. ObservableCollection<NewsTitle> GetNewsTitle(string classCode);
  19. }
  20. }