public IActionResult CarIsBeingUsedByOtherSolicitation([FromBody] CarIsBeingUsedByOtherSolicitation transport) { transport.UserId = GetIdUser(); var result = _transportService.CarIsBeingUsedByOtherSolicitation(transport); if (!result.IsSuccess) { return(BadRequest(result)); } return(Ok(result.Response)); }