Update controller in Location for Models Class

This commit is contained in:
Reginald Cherenfant Jasmin 2023-08-25 18:51:50 -04:00
parent 1e16a23a1a
commit 5a641ff3aa

View File

@ -51,7 +51,7 @@ namespace DamageAssesment.Api.Locations.Controllers
/// </summary> /// </summary>
[HttpPut("Locations")] [HttpPut("Locations")]
public async Task<IActionResult> UpdateLocation(Db.Location Location) public async Task<IActionResult> UpdateLocation(Models.Location Location)
{ {
if (Location != null) if (Location != null)
{ {
@ -69,7 +69,7 @@ namespace DamageAssesment.Api.Locations.Controllers
/// </summary> /// </summary>
[HttpPost("Locations")] [HttpPost("Locations")]
public async Task<IActionResult> CreateLocation(Db.Location Location) public async Task<IActionResult> CreateLocation(Models.Location Location)
{ {
if (Location != null) if (Location != null)
{ {