public TwitterData(TwitterDb context) { this.Context = context; this._repositories = new Dictionary <Type, object>(); }
public Repository(TwitterDb contex) { this.Contex = contex; this.DbSet = contex.Set <T>(); }
public HomeController() { _db = new TwitterDb(); }