GroupService.Category.cs 495 B

12345678910111213141516171819
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. namespace GxPress.Service.Implement.Group
  4. {
  5. public partial class GroupService
  6. {
  7. /// <summary>
  8. /// 根据广场类别查询小组
  9. /// </summary>
  10. /// <param name="categoryId"></param>
  11. /// <returns></returns>
  12. public async Task<IEnumerable<Entity.Group>> GetAllAsync(int categoryId)
  13. {
  14. return await _groupRepository.GetAllAsync(categoryId);
  15. }
  16. }
  17. }