Example #1
0
 // Need constructor with parameter to work in Core
 public ParkController(IParkService parkService, IHikingTrailService trailService, IRestCallsService restCalls)
 {
     _parkService  = parkService;
     _trailService = trailService;
     _restCalls    = restCalls;
 }
 // Need constructor with parameter to work in Core
 public HikingTrailController(IRestCallsService restCalls, IHikingTrailService hikingTrails)
 {
     _restCalls    = restCalls;
     _hikingTrails = hikingTrails;
 }
Example #3
0
 public RestApiCallsController(IRestCallsService restCalls)
 {
     _restCalls = restCalls;
 }