Ejemplo n.º 1
0
 public RemoteApiEventsService(
     ILogger <RemoteApiEventsService> logger,
     IHttpClientFactory httpClientFactory,
     EventSalaryContext eventSalaryContext)
 {
     client                  = httpClientFactory.CreateClient(HttpClientName);
     this.logger             = logger;
     this.eventSalaryContext = eventSalaryContext;
 }
Ejemplo n.º 2
0
 public EventSalaryService(
     EventSalaryContext eventSalaryContext,
     IEventsService eventsService,
     IMapper mapper
     )
 {
     this.eventSalaryContext = eventSalaryContext;
     this.eventsService      = eventsService;
     this.mapper             = mapper;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Default constructor
 /// </summary>
 /// <param name="eventSalaryContext"></param>
 /// <param name="eventSalaryService"></param>
 /// <param name="mapper"></param>
 /// <param name="logger"></param>
 public EventSalaryController(
     EventSalaryContext eventSalaryContext,
     IEventSalaryService eventSalaryService,
     IMapper mapper,
     ILogger <EventSalaryController> logger)
 {
     this.eventSalaryContext = eventSalaryContext;
     this.eventSalaryService = eventSalaryService;
     this.mapper             = mapper;
     this.logger             = logger;
 }
Ejemplo n.º 4
0
 public SelfReferencedEventsService(EventSalaryContext eventSalaryContext)
 {
     this.eventSalaryContext = eventSalaryContext;
 }