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