Example #1
0
        public IHttpActionResult PostLeft(string id, [FromBody] DefaultRequest value)
        {
            if (string.IsNullOrWhiteSpace(value?.Base64))
            {
                return(BadRequest("A value must be informed"));
            }

            _diffService.AddLeftFileToCompare(id, value.Base64);
            return(Ok());
        }