Ejemplo n.º 1
0
        public void UpdateItemCountrer(int listToItemId, int counter)
        {
            ServiceValidator.ValidateGreaterThanZero(listToItemId, nameof(listToItemId));
            ServiceValidator.ValidateGreaterThanZero(counter, nameof(counter));

            _dac.UpdateCountForItemInDisposeList(listToItemId, counter);
        }
Ejemplo n.º 2
0
        public void MoveToShoppingList(int listToItemId)
        {
            ServiceValidator.ValidateGreaterThanZero(listToItemId, nameof(listToItemId));

            _dac.MoveItemToShoppingList(listToItemId);
        }
Ejemplo n.º 3
0
        public void DeleteItem(int listToItemId)
        {
            ServiceValidator.ValidateGreaterThanZero(listToItemId, nameof(listToItemId));

            _dac.DeleteItem(listToItemId);
        }