public AdvertisementService()
 {
     db = new reviewItContext();
     advertisementRepository = new Repository <Advertisement>(db);
     businessRepository      = new Repository <BusinessProfile>(db);
     //<UserProfile>(db);
 }
Exemple #2
0
 public BusinessProfileService()
 {
     db = new reviewItContext();
     businessRepository         = new Repository <BusinessProfile>(db);
     businessCategoryRepository = new Repository <BusinessCategory>(db);
     //<UserProfile>(db);
 }
Exemple #3
0
 public EventService()
 {
     db = new reviewItContext();
     eventRepository = new Repository <Event>(db);
     //<UserProfile>(db);
 }
Exemple #4
0
 public OverallRatingService()
 {
     db = new reviewItContext();
     //reviewRepository = new Repository<Review>(db);
     //<UserProfile>(db);
 }
Exemple #5
0
 public UserService()
 {
     db             = new reviewItContext();
     userRepository = new Repository <UserProfile>(db);
     //<UserProfile>(db);
 }