public EndpointsController() { _serverCurrentInfoDictionaryGetter = new ServerCurrentInfoDictionaryDictionaryGetter(); _serverGetter = new ServerGetter(); _serverCurrentInfoAdapter = new ServerCurrentInfoAdapter(); _steamBotMessageSender = new SteamBotMessageSender(ConfigurationManager.ConnectionStrings["Data"].ConnectionString); }
public AdminsController() { _steamBotMessageSender = new SteamBotMessageSender(ConfigurationManager.ConnectionStrings["Data"].ConnectionString); _messagePusher = new PushbulletMessagePusher(ConfigurationManager.AppSettings["PushbulletEncodedAuthKey"]); _messagePushLogger = new MessagePushLogger(ConfigurationManager.ConnectionStrings["Data"].ConnectionString); }