Пример #1
0
        public BindingList <DtoSex> SearchSexes(string code, string name)
        {
            var dtoSex = new DtoSex()
            {
                Code = code,
                Name = name
            };

            return(new BindingList <DtoSex>(new SexServiceClient().FindSexes(dtoSex)));
        }
Пример #2
0
        public BindingList <SexService.DtoSex> LoadSexes()
        {
            SexService.DtoSex dtoSex = new SexService.DtoSex()
            {
                Code = string.Empty,
                Name = string.Empty
            };

            return(new BindingList <SexService.DtoSex>(new SexServiceClient().FindSexes(dtoSex)));
        }
Пример #3
0
 public BindingList<DtoSex> SearchSexes(string code, string name)
 {
     var dtoSex = new DtoSex()
     {
         Code = code,
         Name = name
     };
     return new BindingList<DtoSex>(new SexServiceClient().FindSexes(dtoSex));
 }