// Need constructor with parameter to work in Core
 public HikingTrailController(IRestCallsService restCalls, IHikingTrailService hikingTrails)
 {
     _restCalls    = restCalls;
     _hikingTrails = hikingTrails;
 }
Ejemplo n.º 2
0
 // Need constructor with parameter to work in Core
 public ParkController(IParkService parkService, IHikingTrailService trailService, IRestCallsService restCalls)
 {
     _parkService  = parkService;
     _trailService = trailService;
     _restCalls    = restCalls;
 }