public Repository(IServiceApiRate serviceRate, IServiceApiTransaction serviceTransac, ILogger <Repository> logger, MyDbContextRateTransac mydbContextDB, IGenericRepository <Rate> _serviceDbRate, IGenericRepository <Transaction> _serviceDbTransac) { _logger = logger; _serviceRate = serviceRate; _serviceTransac = serviceTransac; _serviceRate = serviceRate; _mydbContextDB = mydbContextDB; }
public GenericRepository(MyDbContextRateTransac context, ILogger logger) { _myDbContext = context; _logger = logger; }