Update controller in Location for Models Class
This commit is contained in:
parent
1e16a23a1a
commit
5a641ff3aa
@ -51,7 +51,7 @@ namespace DamageAssesment.Api.Locations.Controllers
|
||||
/// </summary>
|
||||
|
||||
[HttpPut("Locations")]
|
||||
public async Task<IActionResult> UpdateLocation(Db.Location Location)
|
||||
public async Task<IActionResult> UpdateLocation(Models.Location Location)
|
||||
{
|
||||
if (Location != null)
|
||||
{
|
||||
@ -69,7 +69,7 @@ namespace DamageAssesment.Api.Locations.Controllers
|
||||
/// </summary>
|
||||
|
||||
[HttpPost("Locations")]
|
||||
public async Task<IActionResult> CreateLocation(Db.Location Location)
|
||||
public async Task<IActionResult> CreateLocation(Models.Location Location)
|
||||
{
|
||||
if (Location != null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user