示例#1
0
 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;
 }
示例#3
0
 //iOC
 public CourtListPageModel(ICourtManager counrtManager, IPlayerManager playerManager)
 {
     _courtManager  = counrtManager;
     _playerManager = playerManager;
 }