public RegisteredMovement Create(CreateMovement createMovement) { return(_movementService.Create(createMovement)); }
public ActionResult <Movement> Create([FromBody] Movement movement) { _movementService.Create(movement); return(CreatedAtRoute("GetMovement", new { id = movement.Id.ToString() }, movement)); }