public HomeController(ITreater tree, ICandy cand, ICostume cost, IOptions <TreatersSettings> mysettings) { _settings = mysettings.Value; _CostRepo = cost; _CandyRepo = cand; _TreatRepo = tree; //treater = _TreatRepo.GetList(); }
public CandyJsonRep(IOptions <TreatersSettings> mysettings) { _settings = mysettings.Value; }
public TreaterDB(IOptions <TreatersSettings> settings) { _settings = settings.Value; }