public void OnSavingSelected(SavingsContract saving) { if (null == SavingSelected) return; SavingSelected(saving); }
public static void SavingSelected(SavingsContract saving) { Debug.Assert(saving != null, "Client is null."); Debug.Assert(saving.Branch != null, "Branch is null."); BranchService bs = ServicesProvider.GetInstance().GetBranchService(); saving.Branch = bs.FindById(saving.Branch.Id); }