예제 #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;
 }
예제 #2
0
 public ContactUsRepository(MyTravelBlogEntities dbContext)
 {
     this.dbContext = dbContext;
 }
예제 #3
0
 public BlogTagRepository(MyTravelBlogEntities dbContext)
 {
     this.dbContext = dbContext;
 }
예제 #4
0
 public UserRepository(MyTravelBlogEntities dbContext)
 {
     this.dbContext = dbContext;
     util           = new Utility();
 }
예제 #5
0
 public SearchRepository(MyTravelBlogEntities dbContext)
 {
     this.dbContext = dbContext;
 }
예제 #6
0
 public NewsletterRepository(MyTravelBlogEntities dbContext)
 {
     this.dbContext = dbContext;
 }