public UnitOfWork() { _context = new ProsumerContext(); ProsumerRepo = new ProsumerRepository(_context); GridRepo = new SmartGridSettingsRepo(_context); }
public ProsumerRepository(ProsumerContext context) : base(context) { }