Пример #1
0
 public InviteController(IInviteDAO _inviteDAO, IRestaurantDAO _restaurantDAO, IRestaurantsOfInvitesSqlDAO _restInvitesDAO, IRestaurantFavoritesSqlDAO _restLikesDislikesDAO)
 {
     inviteDAO            = _inviteDAO;
     restaurantDAO        = _restaurantDAO;
     restInvitesDAO       = _restInvitesDAO;
     restLikesDislikesDAO = _restLikesDislikesDAO;
 }
 public VueApiTestController(IPreferencesDAO dao, IUserDAO userDao, IUserSavedListsDAO listsDAO, IPasswordHasher passwordHasher, IRestaurantDAO yelpDAO)
 {
     this.prefDAO        = dao;
     this.userDAO        = userDao;
     this.yelpDAO        = yelpDAO;
     this.listsDAO       = listsDAO;
     this.passwordHasher = passwordHasher;
 }
Пример #3
0
 public RestaurantService(IRestaurantDAO _repository)
 {
     repository = _repository;
 }
Пример #4
0
 public RestaurantController(IRestaurantDAO _restaurantDAO)
 {
     restaurantDAO = _restaurantDAO;
 }
 public RestaurantController(IRestaurantDAO Rdao, IUserDAO Udao)
 {
     this.Rdao = Rdao;
     this.Udao = Udao;
 }