public async Task <IActionResult> AddItem([FromBody] ItemRequest itemRequest) { var createdItem = await _shopService.CreateItemAsync(itemRequest, HttpContext.GetUserId()); if (!createdItem.Success) { return(BadRequest(createdItem.Errors)); } return(Ok(createdItem.Response)); }