Пример #1
0
        public IEnumerable <Item> GetAllGender()
        {
            var list = _genderService.GetAllGender().Select(x => new Item {
                Id = x.genderId, Name = x.type
            }).ToList();

            return(list);
        }