Blame view

netcore/src/Modularity/System/NCC.System.Interfaces/Permission/IPositionService.cs 818 Bytes
de2bd2f9   “wangming”   项目初始化
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  using NCC.System.Entitys.Permission;
  using System.Collections.Generic;
  using System.Threading.Tasks;
  
  namespace NCC.System.Interfaces.Permission
  {
      /// <summary>
      /// 业务契约:岗位管理
      /// </summary>
      public interface IPositionService
      {
          /// <summary>
          /// 获取信息
          /// </summary>
          /// <param name="id">获取信息</param>
          /// <returns></returns>
          Task<PositionEntity> GetInfoById(string id);
  
          /// <summary>
          /// 获取岗位列表
          /// </summary>
          /// <returns></returns>
          Task<List<PositionEntity>> GetListAsync();
  
          /// <summary>
          /// 获取名称
          /// </summary>
          /// <param name="ids"></param>
          /// <returns></returns>
          string GetName(string ids);
      }
  }