public bool SaveQuotation(WebAPI.Models.Quotation quotation)
        {
            QuotationDataAccess obj = new QuotationDataAccess();
            var result = obj.SaveQuotation(quotation);

            return(result);
            //return true;
        }
Ejemplo n.º 2
0
        public string AddQuotation(WebAPI.Models.Quotation quotation)
        {
            QuotationBusinessActions obj = new QuotationBusinessActions();
            var result = obj.SaveQuotation(quotation);
            var json   = new JavaScriptSerializer().Serialize(result);

            return(json);
        }