public void SubmitChanges() { var submitRequest = Request.GetSubmitRequest(addBuffer, updBuffer, immutableBuffer); var response = dbEngine.SendRequest(submitRequest); if (!response.IsSuccessful) { throw new InvalidOperationException("ќшибка при отправке данных"); } UpdateBuffersAfterSubmit(); }