public UnitOfWork(SimpleMusicStoreDbContext db, IAddressRepository addresses, IArtistFollowRepository artistFollows, IArtistRepository artists, ILabelFollowRepository labelFollows, ILabelRepository labels, IOrderRepository orders, IRecordRepository records, IWishRepository wishes, IUserRepository users, ICommentRepository comments, IStockRepository stocks) { _db = db; Addresses = addresses; ArtistFollows = artistFollows; Artists = artists; LabelFollows = labelFollows; Labels = labels; Orders = orders; Records = records; Wishes = wishes; Users = users; Comments = comments; Stocks = stocks; }
public ArtistRepository(SimpleMusicStoreDbContext db, IMapper mapper) : base(db, mapper) { }
public ArtistFollowRepository(SimpleMusicStoreDbContext db) : base(db) { }
public RecordRepository(SimpleMusicStoreDbContext db, IMapper mapper) : base(db, mapper) { }
public LabelFollowRepository(SimpleMusicStoreDbContext db) : base(db) { }
public WishRepository(SimpleMusicStoreDbContext db) : base(db) { }