Exemple #1
0
 public SocialConnectRepository(MyTravelBlogEntities dbContext)
 {
     this.dbContext = dbContext;
     httpClient     = new HttpClient();
     httpClient.DefaultRequestHeaders.Accept.Clear();
     httpClient.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
     Scheduler.Instance.Timer.Elapsed += WriteInstagramFeedToDB;
 }
Exemple #2
0
 public ContactUsRepository(MyTravelBlogEntities dbContext)
 {
     this.dbContext = dbContext;
 }
Exemple #3
0
 public BlogTagRepository(MyTravelBlogEntities dbContext)
 {
     this.dbContext = dbContext;
 }
Exemple #4
0
 public UserRepository(MyTravelBlogEntities dbContext)
 {
     this.dbContext = dbContext;
     util           = new Utility();
 }
Exemple #5
0
 public SearchRepository(MyTravelBlogEntities dbContext)
 {
     this.dbContext = dbContext;
 }
Exemple #6
0
 public NewsletterRepository(MyTravelBlogEntities dbContext)
 {
     this.dbContext = dbContext;
 }