public ServiceCategoryController(IOptions <Settings> _settings,
                                  IBillerCategorySqlServerRepository _billercategorySqlRepo, IDistributedCache _cache)
 {
     settings = _settings;
     billercategorySqlRepo = _billercategorySqlRepo;
     cache = _cache;
 }
Ejemplo n.º 2
0
 public BillerCategoryController(IOptions <Settings> _settings, IBillerCategoryMongoRepository _billercategoryMongoRepo
                                 , IBillerCategorySqlServerRepository _billercategorySqlRepo, IDistributedCache _cache, IOptions <List <nameValuePair> > _nvp)
 {
     nvp      = _nvp;
     settings = _settings;
     billercategoryMongoRepo = _billercategoryMongoRepo;
     billercategorySqlRepo   = _billercategorySqlRepo;
     cache = _cache;
 }