mirror of
https://github.com/bitwarden/server.git
synced 2025-02-22 02:51:33 +01:00
EF repo fixes
This commit is contained in:
parent
fa1322599f
commit
d653629e79
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,6 @@ using Microsoft.AspNetCore.Http;
|
||||
using System;
|
||||
using System.IO;
|
||||
using SqlServerRepos = Bit.Core.Repositories.SqlServer;
|
||||
using PostgreSqlRepos = Bit.Core.Repositories.PostgreSql;
|
||||
using EntityFrameworkRepos = Bit.Core.Repositories.EntityFramework;
|
||||
using NoopRepos = Bit.Core.Repositories.Noop;
|
||||
using System.Threading.Tasks;
|
||||
|
Loading…
Reference in New Issue
Block a user