public async Task <IActionResult> PriceChange(PriceChangeDto priceChange) { pm.ChangePrices(priceChange.PercPriceChange); lm.AddLog(priceChange.User, $"Prices changed by {priceChange.PercPriceChange * 100}"); await context.SaveChangesAsync(); return(Ok()); }