Esempio n. 1
0
        public ReadProjectCodes DefaultFields()
        {
            var defaultFields = new ReadProjectCodes {
                Field = new ProjectCodeFieldType[3]
            };

            defaultFields.Field[0] = ProjectCodeFieldType.ObjectId;
            defaultFields.Field[1] = ProjectCodeFieldType.ParentObjectId;
            defaultFields.Field[2] = ProjectCodeFieldType.CodeValue;
            return(defaultFields);
        }
Esempio n. 2
0
        public List <ProjectCode> GetProjectCodeTypes(ReadProjectCodes readProjectCodeTypes)
        {
            var retVal = new List <ProjectCode>(_projectCodeService.ReadProjectCodes(readProjectCodeTypes));

            return(retVal);
        }