public void CancelDelegation(int delId)
        {
            var del = _delegationRepo.GetDelegationById(delId);

            if (del == null || del.DelegationStatusId != 1)
            {
                return;
            }
            del.DelegationStatusId = 6;
            _delegationRepo.UpdateDelegation(del);
        }