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