mirror of
https://github.com/mgroves/MonodroidStockPortfolio.git
synced 2024-12-26 19:34:49 +00:00
minor cleanup
This commit is contained in:
parent
d464f7f313
commit
50fb96b5b5
2 changed files with 2 additions and 2 deletions
|
@ -28,10 +28,11 @@ namespace MonoStockPortfolio.Core.Services
|
|||
{
|
||||
try
|
||||
{
|
||||
var results = new List<PositionResultsViewModel>();
|
||||
|
||||
var positions = _portRepo.GetAllPositions(portfolioID);
|
||||
if (!positions.Any()) return new List<PositionResultsViewModel>();
|
||||
|
||||
var results = new List<PositionResultsViewModel>();
|
||||
var tickers = positions.Select(p => p.Ticker);
|
||||
var stockData = _stockRepo.GetStockQuotes(tickers);
|
||||
|
||||
|
|
|
@ -78,7 +78,6 @@
|
|||
<Compile Include="Activites\PortfolioScreen\PositionArrayAdapter.cs" />
|
||||
<Compile Include="Framework\ActivityExtensions.cs" />
|
||||
<Compile Include="Framework\ContextExtensions.cs" />
|
||||
<Compile Include="Framework\GenericArrayAdapter.cs" />
|
||||
<Compile Include="Activites\PortfolioScreen\PortfolioActivity.cs" />
|
||||
<Compile Include="Activites\MainScreen\MainActivity.cs" />
|
||||
<Compile Include="Activites\EditPositionScreen\EditPositionActivity.cs" />
|
||||
|
|
Loading…
Reference in a new issue