Example #1
0
        public IActionResult Insert(int id, string direction, [FromBody] string input)
        {
            string decodedJson = Decoder.Decode(input.ToString());

            compare.Insert(id, direction, decodedJson);
            return(Ok());
        }