예제 #1
0
        public async Task <IResultModel> Query(RoleMenuQueryModel model)
        {
            var result = new QueryResultModel <RoleMenuEntity>
            {
                Rows  = await _repository.Query(model),
                Total = model.TotalCount
            };

            return(ResultModel.Success(result));
        }