예제 #1
0
 public void AddFixedCostAllocation()
 {
     FixedCostAllocationList.Add(new FixedCostAllocation()
     {
         Name = "Neuer Schlüssel"
     });
     SelectedFixedCostAllocation = FixedCostAllocationList.Last(x => x.Name == "Neuer Schlüssel");
 }
예제 #2
0
 public void DeleteFixedCostAllocation()
 {
     if (SelectedFixedCostAllocation.FixedCostAllocationId != 0)
     {
         FixedCostAllocations.Delete(SelectedFixedCostAllocation.FixedCostAllocationId);
     }
     FixedCostAllocationList.Remove(SelectedFixedCostAllocation);
 }