Пример #1
0
        public override bool IsValid(object value)
        {
            bool isValid = false;
            var  e       = value as ContractDetailTimeline;

            if (e != null)
            {
                ContractDetailTimelineRepository repo = new ContractDetailTimelineRepository();
                isValid = repo.ValidConflictTimeline(e);
            }

            return(isValid);
        }
        public override bool IsValid(object value)
        {
            bool isValid = false;
            var e = value as ContractDetailTimeline;

            if (e != null)
            {
                ContractDetailTimelineRepository repo = new ContractDetailTimelineRepository();
                isValid = repo.ValidConflictTimeline(e);
            }

            return isValid;
        }