public GenericRepository(BarberShopContext _context) { m_Context = _context; m_DbSet = m_Context.Set <T>(); }
public Repositorio(BarberShopContext context) { _context = context; DbSet = _context.Set <T>(); }
public Repository(BarberShopContext context) { _context = context; _set = _context.Set <T>(); }