public List <Poll> GetPolls(int chatId, string searchFor = null) { return(dBHandler.GetPolls(chatId, searchFor: searchFor)); }
public PollContainer(DBHandler dBHandler, Strings strings) { this.dBHandler = dBHandler; this.strings = strings; this.pollDB = dBHandler.GetPolls(); }