public PlaylistsController(IVideoManagerContext context) { dbAccessor = new DbAccessor(context); }
/// <summary> /// The constructor which initializes the controller with the user supplied instance of database accessor. /// </summary> /// <param name="context">the IVideoManager type instance</param> public TagsController(IVideoManagerContext context) { dbAccessor = new DbAccessor(context); }
public DbAccessor(string conn) { // this.context = new masterEntities(); this.context = new SQLiteDbContext(conn); }
public DbAccessor(IVideoManagerContext context) { this.context = context; }
public DbAccessor() { this.context = new masterEntities(); // this.context = new SQLiteDbContext(conn); }