internal void ReInitializeVM() { _saleCount = new SaleCountModel { departmentID = "0", ShiftNumber = 0, TillNumber = 0 }; ReportText = string.Empty; }
private void RunReport() { var saleCountModel = new SaleCountModel { departmentID = Departments.ElementAt(SelectedDepartmentIndex).Key, ShiftNumber = Shifts.ElementAt(SelectedShiftIndex).Key, TillNumber = Tills.ElementAt(SelectedTillIndex).Key }; MessengerInstance.Send <SaleCountModel>(saleCountModel, "RunReport"); }
private void RunReport(SaleCountModel saleCount) { _saleCount = saleCount; PerformAction(GetReportAsync); }