Beispiel #1
0
        public async Task <MessageModel <List <RoleDto> > > GetList(string conditions, string sorts)
        {
            var list = await _roleServices.GetList(conditions, sorts);

            return(new MessageModel <List <RoleDto> >()
            {
                msg = "获取成功",
                success = true,
                data = list
            });
        }