添加TakeAsync方法。

This commit is contained in:
2025-07-22 21:36:33 +08:00
parent b881c89d96
commit fe3045c2d2
13 changed files with 86 additions and 14 deletions

View File

@@ -66,5 +66,9 @@ namespace DMS.Infrastructure.Services
{
return await ServerRepository.GetByIdAsync(id);
}
public virtual async Task<List<TModel>> TakeAsync(int number)
{
return await ServerRepository.TakeAsync(number);
}
}
}