コード例 #1
0
 private void OpenAddCapexToAccount()
 {
     NewCapexForAccount = new AccountsCapexInfoSet();
     CapexAmount = 0M;
     if (!IsAddCapexOpen)
     {
         CapexesList = new ObservableCollection<CapexSet>(_capexService.GetCapexesForYearList(CurrentAccount.AccountYear));
         NewCapexForAccount.AccountsMainId = CurrentAccount.Id;
     }
     IsAddCapexOpen = !IsAddCapexOpen;
 }
コード例 #2
0
 public void AddCapexToAccount(AccountsCapexInfoSet newCapexForAccount)
 {
     _capexesRepository.Add(newCapexForAccount);
 }
コード例 #3
0
 public void DeleteCapexFromAccount(AccountsCapexInfoSet currentCapex)
 {
     _capexesRepository.Remove(currentCapex);
 }
コード例 #4
0
 private void OpenAddCapexToAccount()
 {
     IsAddCapexOpen = true;
     NewCapexForAccount = new AccountsCapexInfoSet { AccountsMainId = Account.Id};
 }