public RestaurantController(IRestaurantCuisineTypesService restaurantCuisineTypesService, IRestaurantDenyTypesService restaurantDenyTypesService, IRestaurantService service) : base(service) { _restaurantCuisineTypesService = restaurantCuisineTypesService; _restaurantDenyTypesService = restaurantDenyTypesService; }
public RestaurantsService(IContextProviderFactory contextProviderFactory, IRestaurantCuisineTypesService cuisineTypesService, IRestaurantDenyTypesService denyTypesService) : base(contextProviderFactory) { _cuisineTypesService = cuisineTypesService; _denyTypesService = denyTypesService; _contextProviderFactory = contextProviderFactory; }