示例#1
0
        private void OnFundUpdated(FundDetailViewModel source, Fund fund)
        {
            var FundInList = Funds.Single(c => c.Id == fund.Id);

            FundInList.Id             = fund.Id;
            FundInList.Amount         = fund.Amount;
            FundInList.Source         = fund.Source;
            FundInList.LastUpdateDate = fund.LastUpdateDate;
            FundInList.UserId         = fund.UserId;
        }
示例#2
0
 private void OnFundAdded(FundDetailViewModel source, Fund fund)
 {
     Funds.Add(new FundViewModel(fund));
 }