Ejemplo n.º 1
0
        public ExcelDataLoaderViewModel()
        {
            controller = new ExcelLoaderModuleController();
            _excelLoaderApplicationService = controller.Resolve <ExcelLoaderApplicationService>("ExcelLoaderApplicationService");

            BrowseCommand = new DelegateCommand <object>(LoadExcelData);
            ExcelData     = new ObservableCollection <ExcelLoaderClientModel>();
        }
Ejemplo n.º 2
0
        public ExcelDataLoaderViewModel()
        {
            controller = new ExcelLoaderModuleController();
            _excelLoaderApplicationService = controller.Resolve <ExcelLoaderApplicationService>("ExcelLoaderApplicationService");

            BrowseCommand        = new DelegateCommand(SaveExcelData);
            RefreshCommand       = new DelegateCommand(LoadExcelData);
            ExcelDataItemSocurce = new ObservableCollection <ExcelLoaderClientModel>();
            validFromFilter      = DateTime.Now.ToShortDateString();
            MaxDate = DateTime.Now;
        }