Ejemplo n.º 1
0
        public bool DeleteBatchNom(List <string> transactionIDs)
        {
            bool isDelete = false;

            if (transactionIDs != null && transactionIDs.Count() > 0)
            {
                List <bool> tempBool = new List <bool>();
                //TODO:
                foreach (var transactionID in transactionIDs)
                {
                    var isDeleted = pathedNominationService.DeleteNominationData(new Guid(transactionID));
                    tempBool.Add(isDeleted);
                }
                if ((tempBool.Where(a => a == false).Count()) == 0)
                {
                    isDelete = true;
                }
            }
            return(isDelete);
        }