Merge branch 'master' of http://120.26.58.240:8888/r/ApiFlexJob
| | |
| | | /// </summary> |
| | | /// <param name="query"></param> |
| | | /// <returns></returns> |
| | | public Task<GetDictionaryDatasQueryResult> GetDictionaryDatas(GetDictionaryDatasQuery query) |
| | | [HttpPost] |
| | | public Task<GetDictionaryDatasQueryResult> GetDictionaryDatas([FromBody] GetDictionaryDatasQuery query) |
| | | { |
| | | return mediator.Send(query); |
| | | } |
| | |
| | | /// </summary> |
| | | /// <param name="query"></param> |
| | | /// <returns></returns> |
| | | public Task<PagedListQueryResult<GetRolesQueryResultItem>> GetRoles(GetRolesQuery query) |
| | | [HttpPost] |
| | | public Task<PagedListQueryResult<GetRolesQueryResultItem>> GetRoles([FromBody] GetRolesQuery query) |
| | | { |
| | | return mediator.Send(query); |
| | | } |