public void Setup() { _categoryRepo = DatabaseTestStartup.ConfigureServiceProvider() .GetRequiredService <IGenericRepository <Category> >(); }
public void Setup() { _tokenRepository = DatabaseTestStartup.ConfigureServiceProvider().GetRequiredService <ITokenRepository>(); }