public static Result<List<CampaignMonitorAPI.List>> GetLists(string apiKey, string campaignID) { CampaignMonitorAPIWrapper.CampaignMonitorAPI.api _api = new CampaignMonitorAPI.api(); object o = _api.GetCampaignLists(apiKey, campaignID); if (o is CampaignMonitorAPI.Result) return new Result<List<CampaignMonitorAPI.List>>((CampaignMonitorAPI.Result)o, null); else return new Result<List<CampaignMonitorAPI.List>>(0, "Success", new List<CampaignMonitorAPI.List>((IEnumerable<CampaignMonitorAPI.List>)o)); }