Пример #1
0
 public RoutesController(ISegmentService segmentService, IRouteService routeService, ICityService cityService, IPriceService priceService, IParcelCategoryService parcelCategoryService, ApplicationDbContext context)
 {
     _segmentService            = segmentService;
     _routeService              = routeService;
     _cityService               = cityService;
     this.priceService          = priceService;
     this.parcelCategoryService = parcelCategoryService;
     this.context               = context;
 }
Пример #2
0
 public SearchPageModel(ICityService cityService,
                        IParcelCategoryService parcelCategoryService,
                        IRouteService routeService,
                        IParcelService parcelService,
                        IPriceService priceService)
 {
     _cityService           = cityService;
     _parcelCategoryService = parcelCategoryService;
     _routeService          = routeService;
     this.parcelService     = parcelService;
     this.priceService      = priceService;
 }
Пример #3
0
 public AdminSearchPageModel(ICityService cityService, IParcelCategoryService parcelCategoryService)
 {
     _cityService           = cityService;
     _parcelCategoryService = parcelCategoryService;
 }