using Common.Library; using GreadyPoang.DataLayer; using GreadyPoang.EntityLayer; using System.Collections.ObjectModel; namespace GreadyPoang.ViewModelLayer; public class RoundRunningViewModel : ViewModelBase { public RoundRunningViewModel() : base() { } public RoundRunningViewModel( IRepository roundsRepo, IRepository pointsRepo, IMethodSharingService sharingService, ICombinedRepository combined ) : base() { _roundsRepo = roundsRepo; _pointsRepo = pointsRepo; _sharingService = sharingService; _combined = combined; } private readonly IRepository? _roundsRepo; private readonly IRepository _pointsRepo; private readonly IMethodSharingService _sharingService; private readonly ICombinedRepository _combined; private ObservableCollection _GameRoundList = new(); private ObservableCollection _ParticipantList = new(); private ObservableCollection _roundElements; }