diff options
Diffstat (limited to 'src/DevHive.Services/Services/TechnologyService.cs')
| -rw-r--r-- | src/DevHive.Services/Services/TechnologyService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DevHive.Services/Services/TechnologyService.cs b/src/DevHive.Services/Services/TechnologyService.cs index 88ed702..c879ad7 100644 --- a/src/DevHive.Services/Services/TechnologyService.cs +++ b/src/DevHive.Services/Services/TechnologyService.cs @@ -60,7 +60,7 @@ namespace DevHive.Services.Services throw new ArgumentException("Technology name already exists!"); Technology technology = this._technologyMapper.Map<Technology>(updateTechnologyServiceModel); - bool result = await this._technologyRepository.EditAsync(technology); + bool result = await this._technologyRepository.EditAsync(updateTechnologyServiceModel.Id, technology); return result; } |
