public async Task <IActionResult> PostParameter([FromBody] Parameter parameter) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } var parameterNew = await _parameterService.AddItem(parameter); return(Ok(parameterNew)); }