public TripsController(ITripRepo itrprepo) { this.itrprepo = itrprepo; }
public EditModel(ITripRepo tripRepo, ITripService tripService) { this._tripRepo = tripRepo; this._tripService = tripService; }
public TripService(SportsContext context, ITripRepo tripRepo) { this._context = context; this._tripRepo = tripRepo; }
public IndexModel(ITripRepo tripRepo) { this._tripRepo = tripRepo; }
public DeleteModel(ITripRepo tripRepo, ITripService tripService) { this._tripRepo = tripRepo; this._tripService = tripService; }