protected BaseController(IMusicSystemDbContext data) { this.Data = data; }
public GenreRepository(IMusicSystemDbContext context) : base(context) { }
public MusicSystemRepository(IMusicSystemDbContext context) { this.dbContext = context; this.set = this.dbContext.Set <T>(); }
public AlbumRepository(IMusicSystemDbContext context) : base(context) { }
public ArtistRepository(IMusicSystemDbContext context) : base(context) { }
public MusicSystemData(IMusicSystemDbContext context) { this.dbContext = context; this.repositories = new Dictionary <Type, object>(); }
public ProducersRepository(IMusicSystemDbContext context) : base(context) { }
public GenericRepositority(IMusicSystemDbContext context) { this.context = context; this.set = context.Set <Т>(); }
public MusicSystemData(IMusicSystemDbContext context) { this.context = context; this.repositories = new Dictionary<Type, object>(); }
public CountryRepository(IMusicSystemDbContext context) : base(context) { }