Exemplo n.º 1
0
        public override bool IsValid(object value)
        {
            bool isValid = false;
            var e = value as ContractTimeline;

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

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

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

            return(isValid);
        }