mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-03 00:00:58 +08:00
18 lines
416 B
C#
18 lines
416 B
C#
|
|
using SqlSugar;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using Yi.Framework.Interface;
|
|||
|
|
using Yi.Framework.Model.Models;
|
|||
|
|
using Yi.Framework.Repository;
|
|||
|
|
|
|||
|
|
namespace Yi.Framework.Service
|
|||
|
|
{
|
|||
|
|
public partial class RoleService
|
|||
|
|
{
|
|||
|
|
public async Task<List<RoleEntity>> DbTest()
|
|||
|
|
{
|
|||
|
|
return await _repository._Db.Queryable<RoleEntity>().ToListAsync();
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|