aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Controllers/TechnologyController.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Web/Controllers/TechnologyController.cs')
-rw-r--r--src/DevHive.Web/Controllers/TechnologyController.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DevHive.Web/Controllers/TechnologyController.cs b/src/DevHive.Web/Controllers/TechnologyController.cs
index 6453d12..9bf492c 100644
--- a/src/DevHive.Web/Controllers/TechnologyController.cs
+++ b/src/DevHive.Web/Controllers/TechnologyController.cs
@@ -29,7 +29,7 @@ namespace DevHive.Web.Controllers
{
CreateTechnologyServiceModel technologyServiceModel = this._technologyMapper.Map<CreateTechnologyServiceModel>(createTechnologyWebModel);
- Guid id = await this._technologyService.Create(technologyServiceModel);
+ Guid id = await this._technologyService.CreateTechnology(technologyServiceModel);
return id == Guid.Empty ?
new BadRequestObjectResult($"Could not create technology {createTechnologyWebModel.Name}") :