예제 #1
0
        private void LoadDataToUi()
        {
            var searchData = new MessageSearchModel {
                CreatedFrom = DateTime.Today.AddDays(-fromDateSelected), CreatedTo = DateTime.Today.AddDays(1)
            };

            MagentoToErpCount = localSql.GetEcommerceRecordCount(searchData);
            ErpToMagentoCount = localSql.GetErpRecordCount(searchData);

            MagentoOrderValue = localSql.GetMagentoOrderValue(searchData);
            ErpOrderValue     = localSql.GetErpOrderValue(searchData);
        }