Esempio n. 1
0
        public async Task <IResultModel> Query(RoleUserQueryModel model)
        {
            var result = new QueryResultModel <RoleUserEntity>
            {
                Rows  = await _roleUserRepository.Query(model),
                Total = model.TotalCount
            };

            return(ResultModel.Success(result));
        }