Ejemplo n.º 1
0
        private List <List> GetCardsWithPositionToDecrease(int boardId, int position)
        {
            var listsWithPositionToUpdate = _listRepository.GetListsWithGreaterPosition(boardId, position);

            foreach (var list in listsWithPositionToUpdate)
            {
                list.Position--;
            }
            return(listsWithPositionToUpdate);
        }