public async Task <IActionResult> UpdateLastPrice([FromRoute] string symbol) { try { var share = await _shareRepository.FindLastBySymbolAsync(symbol); share.Rate = +10; await _shareRepository.UpdateAsync(share); return(NoContent()); } catch (Exception e) { throw new HttpStatusCodeException(500, e.Message); } }