mirror of
https://github.com/bitwarden/server
synced 2025-12-26 13:13:24 +00:00
EF repo fixes
This commit is contained in:
@@ -38,6 +38,7 @@ namespace Bit.Core.Repositories.EntityFramework
|
||||
var entity = Mapper.Map<TEntity>(obj);
|
||||
dbContext.Add(entity);
|
||||
await dbContext.SaveChangesAsync();
|
||||
obj.Id = entity.Id;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user