Пример #1
0
 public CastleDetailsController(ILogger <CastleDetailsController> logger,
                                IMailService mailService,
                                ICastleRepository castleRepository)
 {
     _logger           = logger;
     _mailService      = mailService;
     _castleRepository = castleRepository;
 }
Пример #2
0
 public CastleService(ICastleRepository castleRepo) : base(castleRepo)
 {
     _castleRepository = castleRepo;
 }
Пример #3
0
 public CastlesController(ICastleRepository castleRepository)
 {
     _castleRepository = castleRepository;
 }