/// <summary> /// constructor GenericRepository /// </summary> /// <param name="context">context</param> /// <param name="entities">entities</param> public GenericRepository(KcbApplicationDbContext context) { _context = context; _entities = _context.Set <T>(); }
/// <summary> /// constructor AuthenticateRepository /// </summary> /// <param name="context">context</param> /// <param name="entities">entities</param> public AuthenticateRepository(KcbApplicationDbContext context) { _context = context; _entities = _context.Set <T>(); }