Beispiel #1
0
        public ActionResult <IEnumerable <string> > addItem([FromBody] ItemsDTO pItem)
        {
            Items objItem      = _mapper.Map <Items>(pItem);
            Items returnedItem = _Inventory.CreateItem(objItem);

            return(Ok(returnedItem));
        }