Exemple #1
0
        internal static Price ConvertPriceFromBoToDto(BoPrice boPrice)
        {
            var dtoPrice = new Price
            {
                DateTime = boPrice.DateTime,
                Value    = boPrice.Value,
                Volume   = boPrice.Volume
            };

            return(dtoPrice);
        }
Exemple #2
0
        internal static BoPrice ConvertPriceFromDtoToBo(Price dtoPrice)
        {
            var boPrice = new BoPrice
            {
                DateTime = dtoPrice.DateTime,
                Value    = dtoPrice.Value,
                Volume   = dtoPrice.Volume
            };

            return(boPrice);
        }