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); }
public List <ProjectCode> GetProjectCodeTypes(ReadProjectCodes readProjectCodeTypes) { var retVal = new List <ProjectCode>(_projectCodeService.ReadProjectCodes(readProjectCodeTypes)); return(retVal); }