private void _listCampaignsRefresh() { listCampaigns.Items.Clear(); var req = new GetAllCampaigns(); SendRequest(req); }
internal void Handle(GetAllCampaigns request) { using (var dbConn = DatabaseManager.DbConn()) { var campaigns = dbConn.ExecuteBpl(new CampaignGetAll()); Reply(campaigns); } }