public Rate Create(Rate rate) { ERate eRate = ERate(rate); eRate = _iDRate.Create(eRate); return(Rate(eRate)); }
private Rate Rate(ERate eRate) { Rate returnRate = new Rate { RateId = eRate.RateId, Rates = eRate.Rates, }; return(returnRate); }
private ERate ERate(Rate rate) { ERate returnERate = new ERate { RateId = rate.RateId, Rates = rate.Rates, }; return(returnERate); }
public Rate Read(int RateId) { ERate eRate = _iDRate.Read <ERate>(a => a.RateId == RateId); return(Rate(eRate)); }