Exemplo n.º 1
0
 public AddModel(ITuristPlaceService turistPlaceService,
                 ICountryService countryService,
                 ICityService cityService)
 {
     this.turistPlaceService = turistPlaceService;
     this.countryService     = countryService;
     this.cityService        = cityService;
 }
 public AddModel(ITuristPlaceCategoryServise turistPlaceCategoryServise,
                 ITuristPlaceService turistPlaceService,
                 ICategoryServise categoryServise)
 {
     this.turistPlaceCategoryServise = turistPlaceCategoryServise;
     this.turistPlaceService         = turistPlaceService;
     this.categoryServise            = categoryServise;
 }
 public IndexModel(ILogger <IndexModel> logger,
                   ITuristPlaceService turistPlaceService,
                   ISearchservise searchservise)
 {
     _logger = logger;
     this.turistPlaceService = turistPlaceService;
     this.searchservise      = searchservise;
 }
 public PlaceModel(ITuristPlaceService turistPlaceService,
                   ICommentService commentService,
                   UserManager <User> userManager)
 {
     this.turistPlaceService = turistPlaceService;
     this.commentService     = commentService;
     this.rateService        = rateService;
     this.userManager        = userManager;
 }
Exemplo n.º 5
0
 public AdminpannelModel(ITuristPlaceService TuristPlaceService,
                         ICategoryServise categoryServise,
                         ICountryService countryService,
                         ICityService cityService,
                         ICommentService commentService,
                         IRateService rateService
                         )
 {
     turistPlaceService   = TuristPlaceService;
     this.categoryServise = categoryServise;
     this.countryService  = countryService;
     this.cityService     = cityService;
     this.commentService  = commentService;
     this.rateService     = rateService;
 }
 public DeleteModel(ITuristPlaceService turistPlaceService)
 {
     this.turistPlaceService = turistPlaceService;
 }
 public UpdateModel(ITuristPlaceService turistPlaceService)
 {
     this.turistPlaceService = turistPlaceService;
 }
Exemplo n.º 8
0
 public TuristPlaceController(ITuristPlaceService TuristPlaceService)
 {
     this.TuristPlaceService = TuristPlaceService;
 }
Exemplo n.º 9
0
 public CompareModel(ICompareService compareService, ITuristPlaceService turistPlaceService)
 {
     this.compareService     = compareService;
     this.turistPlaceService = turistPlaceService;
 }