Exemple #1
0
 public TransfersController(
     IProtectedService transferService,
     IMapper mapper,
     IOptions <AppSettings> appSettings)
 {
     _transferService = transferService;
     _mapper          = mapper;
     _appSettings     = appSettings.Value;
 }
 public ProtectedApiController(IProtectedService service)
 {
     _service = service;
 }
Exemple #3
0
 public ProtectedController(IProtectedService protectedService)
 {
     this.protectedService = protectedService;
 }