public async Task <IActionResult> InsertAsync([FromBody] Value newValue) { if (ModelState.IsValid) { var result = await valueService.InsertAsync(newValue); if (result) { return(Ok()); } else { return(NotFound()); } } return(NotFound()); }