public async Task <IActionResult> Reallocate([FromBody] SeatAllocat seatAllocat) { try { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var result = await _seatService.Reallocate(seatAllocat); return(StatusCode(result.StatusCode, result)); } catch (Exception ex) { _logger.LogError(ex.Message); throw ex; } }