public AlbumModalService() { _context = new SoulfulContext(); _singerRepo = new SoulfulRepository <Singer>(_context); _albumRepo = new SoulfulRepository <Album>(_context); _languageRepo = new SoulfulRepository <Language>(_context); }
public SoulfulRepository(SoulfulContext context) { if (context == null) { throw new ArgumentNullException(); } _context = context; }
public AccountService() { _context = new SoulfulContext(); _repository = new SoulfulRepository <GiveBacks>(_context); }
public EventService() { _context = new SoulfulContext(); _eventRepo = new SoulfulRepository <Event>(_context); _singerRepo = new SoulfulRepository <Singer>(_context); }
public ProductService() { _context = new SoulfulContext(); _singerRepo = new SoulfulRepository <Singer>(_context); _albumRepo = new SoulfulRepository <Album>(_context); }
public OrderService() { _context = new SoulfulContext(); _orderRepo = new SoulfulRepository <Order>(_context); _odRepo = new SoulfulRepository <OrderDetail>(_context); }