public async Task <IActionResult> Post([FromBody] LocationRequestViewModel input, CancellationToken ct = default(CancellationToken))
        {
            try
            {
                if (input == null)
                {
                    return(BadRequest());
                }

                //For testing
                if (!ModelState.IsValid)
                {
                    return(BadRequest(ModelState));
                }

                var userId = int.Parse(((ClaimsIdentity)User.Identity).Name);
                if (!await _vehicleManager.isValidUserVehicle(userId, (int)input.VehicleId, ct))
                {
                    return(Forbid());
                }

                return(StatusCode(201, await _manager.AddLocationAsync(input, ct)));
            }
            catch (Exception ex)
            {
                return(StatusCode(500, new
                {
                    Code = "ServerError",
                    ex.Message
                }));
            }
        }