常用方法
常用方法
常用方法
常用方法
public ActionResult AddAnnotation([FromBody] Annotation annotation) { var result = _dataService.AddAnnotation(annotation); if (result == 0) { return(BadRequest()); } annotation.AnnotationId = result; return(Ok(CreateAnnotationDto(annotation))); }