public async Task <IActionResult> Post([FromBody] ValueToAddModel vtam) { var valueToAdd = new Value { Name = vtam.Name }; await _valueRepository.AddAsync(valueToAdd); await _valueRepository.SaveAsync(); return(StatusCode(201)); }