fix
This commit is contained in:
@@ -8,12 +8,12 @@ public class UserExternalRepository : AppRepository<UserExternal>, IUserExternal
|
||||
{
|
||||
public async Task<int> AddUserExternalAsync(UserExternal userExternal)
|
||||
{
|
||||
return await AddAsync(userExternal);
|
||||
return await AddBaseAsync(userExternal);
|
||||
}
|
||||
|
||||
public int AddUserExternal(UserExternal userExternal)
|
||||
{
|
||||
return Add(userExternal);
|
||||
return AddBase(userExternal);
|
||||
}
|
||||
|
||||
public async Task<int> AddUserExternalsAsync(IEnumerable<UserExternal> claims)
|
||||
@@ -93,6 +93,6 @@ public class UserExternalRepository : AppRepository<UserExternal>, IUserExternal
|
||||
|
||||
public void RemoveUserExternal(UserExternal userExternal)
|
||||
{
|
||||
Remove(userExternal);
|
||||
RemoveBase(userExternal);
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ public class UserRepository : AppRepository<User>, IUserRepository
|
||||
{
|
||||
public async Task<User?> GetUserAsync(Guid id)
|
||||
{
|
||||
return await GetAsync(id);
|
||||
return await GetBaseAsync(id);
|
||||
}
|
||||
|
||||
public async Task<User?> GetByUserUserNameAsync(string userName)
|
||||
@@ -23,11 +23,11 @@ public class UserRepository : AppRepository<User>, IUserRepository
|
||||
|
||||
public async Task<int> AddUserAsync(User user)
|
||||
{
|
||||
return await AddAsync(user);
|
||||
return await AddBaseAsync(user);
|
||||
}
|
||||
|
||||
public async Task<int> UpdateUserAsync(User user)
|
||||
{
|
||||
return await UpdateAsync(user);
|
||||
return await UpdateBaseAsync(user);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user