Ejemplo n.º 1
0
 public CookService(
     ICooksRepository cooksRepository,
     IRestaurantRepository restaurantRepository,
     IQualificationRepository qualificationRepository
     )
 {
     this._cooksRepository         = cooksRepository;
     this._restaurantRepository    = restaurantRepository;
     this._qualificationRepository = qualificationRepository;
 }
Ejemplo n.º 2
0
 public RestaurantService(IRestaurantRepository restaurantRepository,
                          ICooksRepository cooksRepository)
 {
     this._restaurantRepository = restaurantRepository;
     this._cooksRepository      = cooksRepository;
 }