small things
This commit is contained in:
@ -143,7 +143,7 @@ namespace StockDal
|
||||
{
|
||||
StockMarketList.Add(SaveRow.StockName, SaveRow);
|
||||
}
|
||||
catch (ArgumentException ae)
|
||||
catch (ArgumentException )
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
@ -44,7 +44,7 @@ namespace StockDAL
|
||||
{
|
||||
using var context = new StockContext();
|
||||
var output = (from stk in context.Stocks
|
||||
where stk.SoldDate == null
|
||||
where stk.SoldDate == null || stk.ActValue > 0
|
||||
select stk).ToList();
|
||||
return output;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user