mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2025-12-22 17:27:48 +00:00
fix feeds order
This commit is contained in:
@@ -27,7 +27,7 @@ namespace LiveGameFeed.Controllers
|
||||
[HttpGet]
|
||||
public IEnumerable<MatchViewModel> Get()
|
||||
{
|
||||
IEnumerable<Match> _matches = _matchRepository.GetAll();
|
||||
IEnumerable<Match> _matches = _matchRepository.AllIncluding(m => m.Feeds);
|
||||
IEnumerable<MatchViewModel> _matchesVM = Mapper.Map<IEnumerable<Match>, IEnumerable<MatchViewModel>>(_matches);
|
||||
|
||||
return _matchesVM;
|
||||
|
||||
Reference in New Issue
Block a user