Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Services / Services / TechnologyService.cs
diff options
context:
space:
mode:
1 files changed, 2 insertions, 2 deletions
-rw-r--r--src/DevHive.Services/Services/TechnologyService.cs4
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()