public void CalculateAndSaveQuote() { int quoteId = 0; var quote = quoteRequest.Get(quoteId); quote.SalesRepresentativeId = 0; foreach (var line in quote.Lines) { line.Quantity = line.Quantity + 1; } var calculatedQuote = quoteRequest.Calculate(quote); var updatedQuote = quoteRequest.Save(calculatedQuote); }