From 5a641ff3aa5aa3e120e6930c0f810074a0c6e45f Mon Sep 17 00:00:00 2001 From: Reginald Cherenfant Jasmin Date: Fri, 25 Aug 2023 18:51:50 -0400 Subject: [PATCH] Update controller in Location for Models Class --- .../Controllers/LocationsController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DamageAssesmentApi/DamageAssesment.Api.Locations/Controllers/LocationsController.cs b/DamageAssesmentApi/DamageAssesment.Api.Locations/Controllers/LocationsController.cs index 040bd93..0ee489a 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.Locations/Controllers/LocationsController.cs +++ b/DamageAssesmentApi/DamageAssesment.Api.Locations/Controllers/LocationsController.cs @@ -51,7 +51,7 @@ namespace DamageAssesment.Api.Locations.Controllers /// [HttpPut("Locations")] - public async Task UpdateLocation(Db.Location Location) + public async Task UpdateLocation(Models.Location Location) { if (Location != null) { @@ -69,7 +69,7 @@ namespace DamageAssesment.Api.Locations.Controllers /// [HttpPost("Locations")] - public async Task CreateLocation(Db.Location Location) + public async Task CreateLocation(Models.Location Location) { if (Location != null) {