change projectController add FromBody
This commit is contained in:
@@ -73,7 +73,7 @@ public class ProjectController : ProgramManagerBaseController
|
|||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
[HttpPost("set-time")]
|
[HttpPost("set-time")]
|
||||||
public async Task<ActionResult<OperationResult>> SetTimeProject(SetTimeProjectCommand command)
|
public async Task<ActionResult<OperationResult>> SetTimeProject([FromBody] SetTimeProjectCommand command)
|
||||||
{
|
{
|
||||||
var res=await _mediator.Send(command);
|
var res=await _mediator.Send(command);
|
||||||
return res;
|
return res;
|
||||||
|
|||||||
Reference in New Issue
Block a user