Ejemplo n.º 1
0
 public RestaurantController(IRestaurantCuisineTypesService restaurantCuisineTypesService,
                             IRestaurantDenyTypesService restaurantDenyTypesService,
                             IRestaurantService service) : base(service)
 {
     _restaurantCuisineTypesService = restaurantCuisineTypesService;
     _restaurantDenyTypesService    = restaurantDenyTypesService;
 }
Ejemplo n.º 2
0
 public RestaurantsService(IContextProviderFactory contextProviderFactory,
                           IRestaurantCuisineTypesService cuisineTypesService,
                           IRestaurantDenyTypesService denyTypesService) : base(contextProviderFactory)
 {
     _cuisineTypesService    = cuisineTypesService;
     _denyTypesService       = denyTypesService;
     _contextProviderFactory = contextProviderFactory;
 }