aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Data')
-rw-r--r--src/DevHive.Data/Repositories/UserRepository.cs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/DevHive.Data/Repositories/UserRepository.cs b/src/DevHive.Data/Repositories/UserRepository.cs
index 492d46b..3f9af70 100644
--- a/src/DevHive.Data/Repositories/UserRepository.cs
+++ b/src/DevHive.Data/Repositories/UserRepository.cs
@@ -109,13 +109,6 @@ namespace DevHive.Data.Repositories
public async Task<bool> EditAsync(User newEntity)
{
- // User user = await this.GetByIdAsync(newEntity.Id);
-
- // this._context
- // .Entry(user)
- // .CurrentValues
- // .SetValues(newEntity);
-
this._context.Update(newEntity);
return await this.SaveChangesAsync(this._context);