예제 #1
0
        public void SaveLtaData(string quoteNumber, out string errorMessage)
        {
            var tranDt = new ObjectParameter("TranDT", typeof(DateTime));
            var result = new ObjectParameter("Result", typeof(int));

            errorMessage = "";
            try
            {
                _ltaContext.usp_QT_InsertQuoteLTA(quoteNumber, tranDt, result);
            }
            catch (Exception ex)
            {
                errorMessage = "Failed to save LTAs for this quote.";
            }
        }