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; }
public HallController(IHallManager hallManager, IBuildingManager buildingManager, ISportManager sportManager) { _hallManager = hallManager; _buildingManager = buildingManager; _sportManager = sportManager; }
// GET: api/values public SportsController(ISportManager sportManager, IMapper mapper) { _sportManager = sportManager; _mapper = mapper; }
/// <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; }