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; }
public ContactUsRepository(MyTravelBlogEntities dbContext) { this.dbContext = dbContext; }
public BlogTagRepository(MyTravelBlogEntities dbContext) { this.dbContext = dbContext; }
public UserRepository(MyTravelBlogEntities dbContext) { this.dbContext = dbContext; util = new Utility(); }
public SearchRepository(MyTravelBlogEntities dbContext) { this.dbContext = dbContext; }
public NewsletterRepository(MyTravelBlogEntities dbContext) { this.dbContext = dbContext; }