public IActionResult AssignToDriver(int driverId, [FromQuery(Name = "id")] string[] ids) { reservationRepo.AssignToDriver(driverId, ids); return(StatusCode(200, new { response = ApiMessages.RecordUpdated() })); }