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()); }
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()); }