자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public ActionResult CreateInspection([FromBody] Inspection inspection) { if (IsAnyNullOrEmpty(inspection)) { return(BadRequest()); } var result = _inspectionService.AddInspection(inspection); if (result) { return(Ok()); } return(NotFound()); }