private void SaveButton_Click(object sender, System.Windows.RoutedEventArgs e)
        {
            var finIndex = new FinIndex();

            finIndex.ProductVolume = ProductVolumeTextBox.Text.D();
            finIndex.Profit = ProfitTextBox.Text.D();
            finIndex.Revenue = RevenueTextBox.Text.D();
            finIndex.OrgId = _viewHost.OrgId;
            finIndex.StartDate = StartDatePicker.SelectedDate.Value;
            finIndex.EndDate = EndDatePicker.SelectedDate.Value;

            _finMgr.AddFinIndex(finIndex);
        }
Exemple #2
0
 public void AddFinIndex(FinIndex finIndex)
 {
     AddEntity(finIndex);
 }