diff options
Diffstat (limited to 'src/DevHive.Services/Services/TechnologyService.cs')
| -rw-r--r-- | src/DevHive.Services/Services/TechnologyService.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DevHive.Services/Services/TechnologyService.cs b/src/DevHive.Services/Services/TechnologyService.cs index 3e7678e..6dd6286 100644 --- a/src/DevHive.Services/Services/TechnologyService.cs +++ b/src/DevHive.Services/Services/TechnologyService.cs @@ -40,14 +40,14 @@ namespace DevHive.Services.Services #endregion #region Read - public async Task<CreateTechnologyServiceModel> GetTechnologyById(Guid id) + public async Task<ReadTechnologyServiceModel> GetTechnologyById(Guid id) { Technology technology = await this._technologyRepository.GetByIdAsync(id); if (technology == null) throw new ArgumentException("The technology does not exist"); - return this._technologyMapper.Map<CreateTechnologyServiceModel>(technology); + return this._technologyMapper.Map<ReadTechnologyServiceModel>(technology); } public HashSet<ReadTechnologyServiceModel> GetTechnologies() |
