Exemplo n.º 1
0
        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");
        }