public PointsOfInterestController(IPointsOfInterestService pointsOfInterestService, IUsersService usersService)
 {
     this.pointsOfInterestService = pointsOfInterestService;
     this.usersService            = usersService;
 }
 public MapController(IPointsOfInterestService pointsOfInterestService, ILocationTypesService locationTypesService)
 {
     _pointsOfInterestService = pointsOfInterestService;
     _locationTypesService = locationTypesService;
 }
Example #3
0
 //inject the framework logger and IMailService to controllerconstructor
 //!!AK6.1 inject Repository
 public PointsOfInterestController(IPointsOfInterestService pointsOfInterestSvc)
 {
     //inject custom services
     _pointsOfInterestSvc = pointsOfInterestSvc;
 }