Esempio n. 1
0
        public IActionResult AddItemState(ItemState itemState, int itemId)
        {
            var currentUserId = int.Parse(User.Identity.Name);
            var state         = _itemsService.AddItemState(itemState, itemId, currentUserId, true);

            return(Ok(state));
        }