-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move season results table logic out of the view
- Loading branch information
1 parent
2d427f4
commit b00744e
Showing
3 changed files
with
120 additions
and
88 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
Stoolball.Web/Competitions/Models/SeasonResultsTableViewModel.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.Collections.Generic; | ||
using Stoolball.Matches; | ||
using Stoolball.Web.Matches.Models; | ||
using Umbraco.Cms.Core.Models.PublishedContent; | ||
using Umbraco.Cms.Core.Services; | ||
|
||
namespace Stoolball.Web.Competitions.Models | ||
{ | ||
public class SeasonResultsTableViewModel : MatchListingViewModel | ||
{ | ||
public SeasonResultsTableViewModel(IPublishedContent? contentModel = null, IUserService? userService = null) : base(contentModel, userService) { } | ||
|
||
public IEnumerable<ResultsTableRow> ResultsTableRows = new List<ResultsTableRow>(); | ||
|
||
public IEnumerable<MatchListing> MatchesAwaitingResults = new List<MatchListing>(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters