private List <Lookup> GetLookup() { ExpandoObject tcodes = Newtonsoft.Json.JsonConvert.DeserializeObject <ExpandoObject>(MapperAPI.GetLookups()); List <Lookup> lookups = new List <Lookup>(); lookups.Add(new Lookup { Name = "Tcodes", Values = tcodes }); return(lookups); }
private async Task <string> SendToMapper(Mapper mapper) { string input = (JsonConvert.SerializeObject(mapper)); return(await MapperAPI.SendToMapper(input)); }
private async Task <Rules> GetRules() { return(JsonConvert.DeserializeObject <Rules>(await MapperAPI.GetMapperRules("FDAF5238-74D7-4C24-9811-A4CD8C4B1CA8"))); }