Handling of Stockprices not delivered
This commit is contained in:
@ -59,6 +59,7 @@ namespace StockDAL
|
||||
|
||||
public void UpdateActualPrice(int id, decimal price)
|
||||
{
|
||||
if (price < 0) return;
|
||||
using var context = new StockContext();
|
||||
var entity = (from stk in context.Stocks
|
||||
where stk.Id == id
|
||||
|
||||
Reference in New Issue
Block a user