forked from ddrilling/AsbCloudServer
Мелкие правки
This commit is contained in:
parent
295c8d9145
commit
f68cb10d4b
@ -3831,7 +3831,7 @@ namespace AsbCloudDb.Migrations
|
||||
{
|
||||
IdUserRole = 1,
|
||||
IdPermission = 526
|
||||
},);
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity("AsbCloudDb.Model.RelationUserRoleUserRole", b =>
|
||||
|
@ -44,7 +44,7 @@ public class ManualDirectoryRepository : CrudRepositoryBase<ManualDirectoryDto,
|
||||
public Task<bool> IsExistsAsync(int id, CancellationToken cancellationToken) =>
|
||||
dbContext.ManualDirectories.AnyAsync(d => d.Id == id, cancellationToken);
|
||||
|
||||
private IEnumerable<ManualDirectory> BuildTree(IEnumerable<ManualDirectory> directories)
|
||||
private static IEnumerable<ManualDirectory> BuildTree(IEnumerable<ManualDirectory> directories)
|
||||
{
|
||||
var directoryDict = directories.ToDictionary(f => f.Id);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user