private Dimensions GetDimensions(string dimensionId) { var dimension = _dimensionRepository.GetDimension(dimensionId); return(new Dimensions { Width = dimension.Width, Height = dimension.Height, Diameter = dimension.Diameter, Length = dimension.Length, }); }