public async Task <ActionResult> Put(string Id, bool IsApprove) { try { return(Json(await reservationManager.ApproveReservation(IsApprove, Id))); } catch (Exception e) { return(BadRequest(e.Message)); } }