salvataggio ritorno tipo AnswerDTO + insomnia rest update
This commit is contained in:
@@ -74,7 +74,7 @@ namespace Lux.API.Controllers
|
||||
}
|
||||
|
||||
[HttpPost("jobcreate/{id}")]
|
||||
public async Task<bool> JobCreate(string id, [FromBody] Dictionary<string,string> args)
|
||||
public async Task<bool> JobCreate(string id, [FromBody] AnswerDTO args)
|
||||
{
|
||||
bool answ = true;
|
||||
// simulo salvataggio
|
||||
@@ -85,7 +85,7 @@ namespace Lux.API.Controllers
|
||||
}
|
||||
|
||||
[HttpPost("jobestimate/{id}")]
|
||||
public async Task<bool> JobEstimate(string id, [FromBody] Dictionary<string, string> args)
|
||||
public async Task<bool> JobEstimate(string id, [FromBody] AnswerDTO args)
|
||||
{
|
||||
bool answ = true;
|
||||
// simulo salvataggio
|
||||
|
||||
Reference in New Issue
Block a user