public async Task <IActionResult> AddItem([FromBody] ItemViewModel itemViewModel) { var item = mapper.Map <Item>(itemViewModel); item = await inventoryProvider.AddItem(item); itemViewModel = mapper.Map(item, itemViewModel); return(Ok(itemViewModel)); }