public List <QuoteDTOTable> getQuotes()
    {
        using (var context = new hctDBEntities())
        {
            List <Quote>         q  = context.Quotes.OrderBy(i => i.Id).ToList();
            List <QuoteDTOTable> ql = new List <QuoteDTOTable>();

            foreach (Quote i in q)
            {
                QuoteDTOTable cdt = new QuoteDTOTable();
                cdt.QuoteCode = i.quoteCode;
                cdt.Price     = i.totalPrice.ToString();
                cdt.Time      = i.totalTime.ToString();
                ql.Add(cdt);
            }
            return(ql);
        }
    }
    public List<QuoteDTOTable> getQuotes()
    {
        using (var context = new hctDBEntities())
        {
            List<Quote> q = context.Quotes.OrderBy(i => i.Id).ToList();
            List<QuoteDTOTable> ql = new List<QuoteDTOTable>();

            foreach (Quote i in q)
            {
                QuoteDTOTable cdt = new QuoteDTOTable();
                cdt.QuoteCode = i.quoteCode;
                cdt.Price = i.totalPrice.ToString();
                cdt.Time = i.totalTime.ToString();
                ql.Add(cdt);
            }
            return ql;
        }
    }