change projectController add FromBody
This commit is contained in:
@@ -73,7 +73,7 @@ public class ProjectController : ProgramManagerBaseController
|
||||
return res;
|
||||
}
|
||||
[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);
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user