public IActionResult AddString([FromBody] StringItem item) { _stringService.AddString(item); var result = new JsonResult(item); result.StatusCode = 201; return(result); }