public UnitOfWork(user_auth_dbContext context) { Context = context; }
public GroupRepository(user_auth_dbContext context) : base(context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public UserRepository(user_auth_dbContext context) { this._context = context ?? throw new ArgumentNullException(nameof(context)); // Guard to ensure db context isn't null }