/// <summary> /// Initializes a new instance of the <see cref="ModifierService"/> class. /// </summary> /// <param name="modifierRepository">The modifier repository.</param> public ModifierService(IModifierRepository modifierRepository) { _modifierRepository = modifierRepository; }
public ModifierController(IModifierRepository _modifierRepository) //Constructor Dependency Injection { modifierRepository = _modifierRepository; }
/// <summary> /// Initializes a new instance of the <see cref="AbilitiesController"/> class. /// </summary> /// <param name="modifierRepository">The modifier repository.</param> public AbilitiesController(IModifierRepository modifierRepository) { ModifierRepository = modifierRepository; }