public Rate AddRate(RateType type) { Rate rate = Rate.Create(type); Rates.Add(rate); return(rate); }
internal static Rate Create(RateType type) { return new Rate {Id = CombGuid.NewGuid(), RateTypeId = type.Id}; }
internal static Rate Create(RateType type) { return(new Rate { Id = CombGuid.NewGuid(), RateTypeId = type.Id }); }
public Rate AddRate(RateType type) { Rate rate = Rate.Create(type); Rates.Add(rate); return rate; }