public HomeController(IOptions <TreaterSettings> settings, ITreaterRepository treaterRepository, ICandyRepository candyRepository, ICostumeRepository costumeRepository) { _Settings = settings.Value; _treaterRepo = treaterRepository; _candyRepo = candyRepository; _costumeRepo = costumeRepository; }
public HomeController() { _treaterRepo = new TreaterDBRepository(); }
public HomeController(ITreaterRepository treaterRepository, ICandyRepository candyRepository, ICostumeRepository costumeRepository) { _TreaterRepository = treaterRepository; _CandyRepository = candyRepository; _CostumeRepository = costumeRepository; }