New editwindow , before connection

This commit is contained in:
2021-06-02 22:35:36 +02:00
parent 6c32c38296
commit dd0f9dde71
18 changed files with 1266 additions and 4 deletions

View File

@ -20,6 +20,15 @@ namespace StockDAL
}
}
public StockMember GetStockMember(int stockMemberId)
{
using var context = new StockContext();
var entity = (from stk in context.Stocks
where stk.Id == stockMemberId
select stk).FirstOrDefault();
return entity;
}
public void UpdateActualPrice(int id, decimal price)
{
using var context = new StockContext();