private static Price Create(ThriftPrice prices)
 {
     return(new Price(prices.Id ?? 0)
     {
         Description = prices.Description,
         PricePerUnit = PricePerUnitAdapter.Create(prices.PricePerUnit),
         UnitDescription = prices.UnitDescription,
         UnitId = prices.UnitId,
     });
 }
 internal static ThriftPrice Create(Price price)
 {
     return(new ThriftPrice
     {
         Description = price.Description,
         Id = price.Id,
         PricePerUnit = PricePerUnitAdapter.Create(price.PricePerUnit),
         UnitDescription = price.UnitDescription,
         UnitId = price.UnitId
     });
 }