public CastleDetailsController(ILogger <CastleDetailsController> logger, IMailService mailService, ICastleRepository castleRepository) { _logger = logger; _mailService = mailService; _castleRepository = castleRepository; }
public CastleService(ICastleRepository castleRepo) : base(castleRepo) { _castleRepository = castleRepo; }
public CastlesController(ICastleRepository castleRepository) { _castleRepository = castleRepository; }