public async Task <ActionResult <IEnumerable <RxPrice> > > GetRxPricesPerMg(string name) { var rxPrices = await _rxPriceRepository.GetMedication(name); return(Ok(_priceCalculator.PricePerMg(rxPrices))); }