Exemplo n.º 1
0
        public async Task ImportForOracleCost(Stream stream, string fileName)
        {
            DataTable         dt   = CommonTool.FileStreamToDataTable(stream, fileName);
            List <OracleCost> list = ConvertHelper <OracleCost> .ConvertToList(dt);

            await StartThirdStage(list);
        }
Exemplo n.º 2
0
        public async Task ImportForSalesForce(Stream stream, string fileName)
        {
            DataTable           dt   = CommonTool.FileStreamToDataTable(stream, fileName);
            List <QuoteRevenue> list = ConvertHelper <QuoteRevenue> .ConvertToList(dt);

            await StartFirstStage(list);
        }
Exemplo n.º 3
0
        public async Task ImportForExchangeRate(Stream stream, string fileName)
        {
            DataTable           dt   = CommonTool.FileStreamToDataTable(stream, fileName);
            List <ExchangeRate> list = ConvertHelper <ExchangeRate> .ConvertToList(dt);

            list = list.Where(r => r.Rate > 0).ToList();
            await StartFourthStage(list);
        }