private static Domain.Lap Convert(Lap lap) { var result = new Domain.Lap(lap.Start); result.SetPropertyValue("Id", lap.LapId); result.SetPropertyValue("End", lap.End); return(result); }
private static Lap Convert(Domain.Lap lap) { var result = new Lap { LapId = lap.Id, Start = lap.Start, End = lap.End }; return(result); }