/// <summary>
        /// Creates a valid, EnumerationDto; typical of something retrieved back from a form submission
        /// </summary>
        public static EnumerationDto CreateEnumerationDto(int id)
        {
            EnumerationDto enumerationDto = new EnumerationDto
            {
                Name = "TestName",
                Id = id
            };

            return enumerationDto;
        }
예제 #2
0
        private static EnumerationDto GetEnumerationDto(string addedString)
        {
            EnumerationDto dto = new EnumerationDto { Name = "TestName" + addedString };

            return dto;
        }