示例#1
0
        public TravelReviewService()
        {
            IRepository <TravelReview> repository = RepositoryFactory.GetRepository <TravelReview>();

            this._saveRepository = repository;
            this._getRepository  = repository;

            this._transportService     = new TransportService();
            this._travelFeelingService = new TravelFeelingService();
        }
 public TravelFeelingController()
 {
     this._travelFeelingService = new TravelFeelingService();
 }