Example #1
0
        public SportManager(ISportManager dataManager)
        {
            DataManager = dataManager;

            foreach (Sport n in dataManager.LesSports)
            {
                lesSports.Add(n);
                n.PropertyChanged += SportPropertyChanged;
            }
        }
 public SportEventController(ISportEventManager sportEventManager, ISportManager sportManager)
 {
     _sportEventManager = sportEventManager;
     _sportManager      = sportManager;
 }
Example #3
0
 public HallController(IHallManager hallManager, IBuildingManager buildingManager, ISportManager sportManager)
 {
     _hallManager     = hallManager;
     _buildingManager = buildingManager;
     _sportManager    = sportManager;
 }
Example #4
0
 // GET: api/values
 public SportsController(ISportManager sportManager, IMapper mapper)
 {
     _sportManager = sportManager;
     _mapper       = mapper;
 }
Example #5
0
 /// <summary>
 /// Create a new instance of the <see cref="SportsController"/>
 /// </summary>
 /// <param name="manager">The manager for performing operations in the data</param>
 public SportsController(ISportManager manager)
 {
     _manager = manager;
 }
 public SportController(ISportManager manager)
 {
     _iSportManager = manager;
 }