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

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