public QueueListPageModel(IQueueManager queueManager, ICourtManager courtManager) { _queueManager = queueManager; _courtManager = courtManager; }
/// <summary> /// Create a new instance of the <see cref="CourtsController"/> /// </summary> /// <param name="manager">The manager for performing operations in the database</param> public CourtsController(ICourtManager manager) { _manager = manager; }
//iOC public CourtListPageModel(ICourtManager counrtManager, IPlayerManager playerManager) { _courtManager = counrtManager; _playerManager = playerManager; }